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