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:
thedmd
2022-11-20 07:25:43 +01:00
committed by David Reid
parent 53bbca81b9
commit 9beb89c1e3
+5 -1
View File
@@ -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