Fixes to make Löve compile on Windows 10 UWP

This commit is contained in:
T-Bone
2016-04-07 22:56:03 +02:00
parent 03801e49d6
commit b2291fb62a
9 changed files with 49 additions and 17 deletions
+7
View File
@@ -24,6 +24,11 @@
// Platform stuff.
#if defined(WIN32) || defined(_WIN32)
# define LOVE_WINDOWS 1
#if WINAPI_FAMILY==WINAPI_FAMILY_APP
# define LOVE_WINDOWS_UWP 1
# define LOVE_NO_MODPLUG 1
# define LOVE_NO_MPG123 1
#endif
#endif
#if defined(linux) || defined(__linux) || defined(__linux__)
# define LOVE_LINUX 1
@@ -76,7 +81,9 @@
#endif
#if defined(LOVE_WINDOWS)
#ifndef LOVE_WINDOWS_UWP
# define LOVE_LEGENDARY_CONSOLE_IO_HACK
#endif // LOVE_WINDOWS_UWP
# define NOMINMAX
#endif