mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +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. */
|
/* Platform/backend detection. */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define MA_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
|
#define MA_WIN32_UWP
|
||||||
#elif defined(WINAPI_FAMILY) && (defined(WINAPI_FAMILY_GAMES) && WINAPI_FAMILY == WINAPI_FAMILY_GAMES)
|
#elif defined(WINAPI_FAMILY) && (defined(WINAPI_FAMILY_GAMES) && WINAPI_FAMILY == WINAPI_FAMILY_GAMES)
|
||||||
#define MA_WIN32_GDK
|
#define MA_WIN32_GDK
|
||||||
#else
|
#else
|
||||||
#define MA_WIN32_UWP
|
#define MA_WIN32_DESKTOP
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define MA_POSIX
|
#define MA_POSIX
|
||||||
|
|||||||
Reference in New Issue
Block a user