mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixes to make Löve compile on Windows 10 UWP
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user