From c7341545b28d04b5fff97622be50af4c287610ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Noel?= Date: Wed, 19 Mar 2025 08:38:01 +0100 Subject: [PATCH] fix build on Debian mips64el --- code/gamespy/common/gsPlatform.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/gamespy/common/gsPlatform.h b/code/gamespy/common/gsPlatform.h index 780abd8f..d7ffb37e 100644 --- a/code/gamespy/common/gsPlatform.h +++ b/code/gamespy/common/gsPlatform.h @@ -23,7 +23,9 @@ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Set the platform define -#ifdef __mips64 +#if defined(_LINUX) || defined(_MACOSX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) + #define _UNIX +#elif __mips64 #ifndef _PS2 #define _PS2 #endif @@ -34,10 +36,6 @@ #endif #endif -#if defined(_LINUX) || defined(_MACOSX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) - #define _UNIX -#endif - #if defined(_XBOX) || defined (_X360) #if _XBOX_VER >= 200 #define _X360