Fixed various build and runtime errors when using WinRT with VS2012.

This commit is contained in:
David Ludwig
2014-03-12 11:57:15 -04:00
parent 36e7c8d92d
commit b68b6e23d1
11 changed files with 125 additions and 30 deletions

View File

@@ -45,6 +45,8 @@
#if TARGET_OS_IPHONE /* probably not useful on iOS. */
#define SDL_DYNAMIC_API 0
#elif SDL_BUILDING_WINRT /* probaly not useful on WinRT, given current .dll loading restrictions */
#define SDL_DYNAMIC_API 0
#else /* everyone else. */
#define SDL_DYNAMIC_API 1
#endif