mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Add MA_FORCE_UWP to force the UWP build.
This commit is contained in:
+2
-2
@@ -3761,12 +3761,12 @@ typedef ma_uint16 wchar_t;
|
||||
/* Platform/backend detection. */
|
||||
#ifdef _WIN32
|
||||
#define MA_WIN32
|
||||
#if defined(WINAPI_FAMILY) && ((defined(WINAPI_FAMILY_PC_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PC_APP) || (defined(WINAPI_FAMILY_PHONE_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP))
|
||||
#if defined(MA_FORCE_UWP) || (defined(WINAPI_FAMILY) && ((defined(WINAPI_FAMILY_PC_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PC_APP) || (defined(WINAPI_FAMILY_PHONE_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)))
|
||||
#define MA_WIN32_UWP
|
||||
#elif defined(WINAPI_FAMILY) && (defined(WINAPI_FAMILY_GAMES) && WINAPI_FAMILY == WINAPI_FAMILY_GAMES)
|
||||
#define MA_WIN32_GDK
|
||||
#else
|
||||
#define MA_WIN32_UWP
|
||||
#define MA_WIN32_DESKTOP
|
||||
#endif
|
||||
#else
|
||||
#define MA_POSIX
|
||||
|
||||
Reference in New Issue
Block a user