Browse Source

WinRT: build fix when using recent versions of the Windows 10 SDK

David Ludwig 7 years ago
parent
commit
78b83d3a6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/winrt/SDL_winrtapp_direct3d.cpp

+ 1 - 1
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)
 
 {