Fixing include issues for WinRT builds.

This commit is contained in:
Mike Popoloski
2014-11-09 18:21:08 -05:00
parent 8e86548422
commit 7ccc789455
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#if BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT
# include <windows.h>
# include "debug.h"
#elif BX_PLATFORM_ANDROID \
|| BX_PLATFORM_EMSCRIPTEN \
|| BX_PLATFORM_FREEBSD \

View File

@@ -107,6 +107,7 @@
# define BX_PLATFORM_XBOX360 1
#elif defined(_WIN32) || defined(_WIN64)
// http://msdn.microsoft.com/en-us/library/6sehtctf.aspx
# include <windows.h>
# if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
# undef BX_PLATFORM_WINDOWS
# if !defined(WINVER) && !defined(_WIN32_WINNT)