From aae68b3a3cdae225a4573d5789c3e0219b78e4c7 Mon Sep 17 00:00:00 2001 From: Stephan Vedder Date: Wed, 6 May 2026 23:28:39 +0200 Subject: [PATCH] Add MACOSX detection Co-authored-by: Copilot --- include/gamespy/gsplatform.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/gamespy/gsplatform.h b/include/gamespy/gsplatform.h index 1e7c645..d948761 100644 --- a/include/gamespy/gsplatform.h +++ b/include/gamespy/gsplatform.h @@ -38,6 +38,13 @@ #define _UNIX #endif +#if defined(__APPLE__) +#include +#if TARGET_OS_MAC +#define _MACOSX +#endif +#endif + #if defined(_XBOX) || defined(_X360) #if _XBOX_VER >= 200 #define _X360