avoid -Wundef warning from SDL_config_windows.h

main
Ozkan Sezer 2021-06-26 05:56:10 +03:00
parent 205b951b46
commit bfdea60572
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ typedef unsigned int uintptr_t;
#endif
/* Check to see if we have Windows 10 build environment */
#if _MSC_VER >= 1911 /* Visual Studio 15.3 */
#if defined(_MSC_VER) && (_MSC_VER >= 1911) /* Visual Studio 15.3 */
#include <sdkddkver.h>
#if _WIN32_WINNT >= 0x0601 /* Windows 7 */
#define SDL_WINDOWS7_SDK