diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-07 10:48:20 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-07 10:48:20 -0400 |
commit | e33069cc0f270c45e80c1ee2e6beafef1c262ec6 (patch) | |
tree | 55cec8a019bfa53e992ea87100e54da8b7b3b041 /include/SDL2 | |
parent | f72bec0cd9784b2aaf8a855f44bc5e44bb5a6571 (diff) |
Update SDL_platform.h
Diffstat (limited to 'include/SDL2')
-rw-r--r-- | include/SDL2/SDL_platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL2/SDL_platform.h b/include/SDL2/SDL_platform.h index c43f4b5..83381be 100644 --- a/include/SDL2/SDL_platform.h +++ b/include/SDL2/SDL_platform.h @@ -114,10 +114,10 @@ #define __SOLARIS__ 1 #endif -#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) +#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) /* Try to find out if we're compiling for WinRT or non-WinRT */ /* If _USING_V110_SDK71_ is defined it means we are using the v110_xp or v120_xp toolset. */ -#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_) /* _MSC_VER==1700 for MSVC 2012 */ +#if (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_) /* _MSC_VER==1700 for MSVC 2012 */ #include <winapifamily.h> #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #undef __WINDOWS__ |