Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: fixed Win32 builds by prevented __WINRT__ from being defined

  • Loading branch information
DavidLudwig committed Nov 25, 2012
1 parent caefb64 commit 9169c17d49c9dcb609e682507256ae35544a9b54
Showing with 1 addition and 2 deletions.
  1. +1 −2 include/SDL_platform.h
@@ -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

0 comments on commit 9169c17

Please sign in to comment.