From c134a1c87023b11a40b62036cb5ee79e03c2571a Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 28 Jan 2026 14:16:57 +1000 Subject: [PATCH] Add Sun/Solaris compile-time detection. --- miniaudio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/miniaudio.h b/miniaudio.h index 3c850d3b..4742a5ca 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -4058,6 +4058,9 @@ typedef ma_uint16 wchar_t; #if defined(__HAIKU__) #define MA_HAIKU #endif + #if defined(__sun) || defined(__sun__) + #define MA_SUN + #endif #endif #if !defined(MA_FALLTHROUGH) && defined(__cplusplus) && __cplusplus >= 201703L