소스 검색

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

David Ludwig 8 년 전
부모
커밋
78b83d3a6d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 
 {