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

This commit is contained in:
David Ludwig committed 2014-03-12 11:57:15 -04:00
1 parent 36e7c8d92d
commit b68b6e23d1
11 files changed
+125 -30

No files matched your search

+1 -2
View File
@@ -180,8 +180,7 @@ typedef unsigned int uintptr_t;
#endif
/* Enable system power support */
// TODO, WinRT: investigate system power support. The Win32-based APIs don't work on WinRT.
#define SDL_POWER_DISABLED 1
#define SDL_POWER_WINRT 1
/* Enable assembly routines (Win64 doesn't have inline asm) */
#ifndef _WIN64