mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Detect MA_ORBIS and MA_PROSPERO before MA_BSD.
Checking for __ORBIS__ and __PROSPERO__ first avoid identifying PS4/PS5 as BSD systems.
This commit is contained in:
+5
-1
@@ -3805,7 +3805,11 @@ typedef ma_uint16 wchar_t;
|
|||||||
|
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
#define MA_UNIX
|
#define MA_UNIX
|
||||||
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
#ifdef __ORBIS__
|
||||||
|
#define MA_ORBIS
|
||||||
|
#elif defined(__PROSPERO__)
|
||||||
|
#define MA_PROSPERO
|
||||||
|
#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
#define MA_BSD
|
#define MA_BSD
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user