From 78b83d3a6df96b4b5e26d9d887af62aa49905cfd Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Mon, 11 Sep 2017 18:20:56 -0400 Subject: [PATCH] WinRT: build fix when using recent versions of the Windows 10 SDK --- src/core/winrt/SDL_winrtapp_direct3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/winrt/SDL_winrtapp_direct3d.cpp b/src/core/winrt/SDL_winrtapp_direct3d.cpp index 2a2eb15ef..7084f9388 100644 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp @@ -827,7 +827,7 @@ static void WINRT_OnBackButtonPressed(BackButtonEventArgs ^ args) } } -#if NTDDI_VERSION == NTDDI_WIN10 +#if NTDDI_VERSION >= NTDDI_WIN10 void SDL_WinRTApp::OnBackButtonPressed(Platform::Object^ sender, Windows::UI::Core::BackRequestedEventArgs^ args) {