Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: fixed Win32 builds by prevented __WINRT__ from being defined
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Nov 25, 2012
1 parent caefb64 commit 9169c17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/SDL_platform.h
Expand Up @@ -130,9 +130,8 @@
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#undef __WIN32__
#define __WIN32__ 1
#endif
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
/* Include WinRT / Windows Store APIs in SDL, if available: */
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#undef __WINRT__
#define __WINRT__ 1
#endif
Expand Down

0 comments on commit 9169c17

Please sign in to comment.