From f80b204ee925670c8e0329fd5f612f1d6e407b94 Mon Sep 17 00:00:00 2001 From: Saint Wish <6036821+SaintWish@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:33:48 -0500 Subject: [PATCH] linux fixes take 1 --- src/game/server/gamerules/multiplay_gamerules.cpp | 1 - src/game/shared/strhelper.h | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/game/server/gamerules/multiplay_gamerules.cpp b/src/game/server/gamerules/multiplay_gamerules.cpp index 5b55b78f..3b19ec67 100644 --- a/src/game/server/gamerules/multiplay_gamerules.cpp +++ b/src/game/server/gamerules/multiplay_gamerules.cpp @@ -28,7 +28,6 @@ #include "global.h" #include "svglobals.h" #include "mscharacter.h" -#include "fn/FNShareddefs.h" extern DLL_GLOBAL CGameRules *g_pGameRules; extern DLL_GLOBAL BOOL g_fGameOver; diff --git a/src/game/shared/strhelper.h b/src/game/shared/strhelper.h index 4cc09319..000a5273 100644 --- a/src/game/shared/strhelper.h +++ b/src/game/shared/strhelper.h @@ -4,14 +4,6 @@ #ifdef POSIX char* strupr(char* start); char* strlower(char* start); - -#define _strupr strupr -#define _strlwr strlower -#define _snprintf snprintf -#define _vsnprintf(a, b, c, d) vsnprintf(a, b, c, d) -#define strnicmp strncasecmp -#define _strnicmp strncasecmp -#define _stricmp strcasecmp #endif #endif // STR_HELPER_H \ No newline at end of file