Commit 9beb89c1 authored by thedmd's avatar thedmd Committed by David Reid

Detect MA_ORBIS and MA_PROSPERO before MA_BSD.

Checking for __ORBIS__ and __PROSPERO__ first avoid identifying PS4/PS5 as BSD systems.
parent 53bbca81
...@@ -3805,7 +3805,11 @@ typedef ma_uint16 wchar_t; ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment