From 35bd31cb39a3f51e86e347317f5d8a227982b081 Mon Sep 17 00:00:00 2001 From: squeek Date: Mon, 4 Nov 2013 04:54:38 +0000 Subject: [PATCH] Alias client-only function VarArgs as server-only function UTIL_VarArgs and vice-versa so we can use them in shared code; they both do the exact same thing. --- mp/src/game/shared/util_shared.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mp/src/game/shared/util_shared.h b/mp/src/game/shared/util_shared.h index 8d40f4f5..107a0689 100644 --- a/mp/src/game/shared/util_shared.h +++ b/mp/src/game/shared/util_shared.h @@ -600,5 +600,10 @@ bool UTIL_IsHolidayActive( /*EHoliday*/ int eHoliday ); // holidays overlapping, the list order will act as priority. const char *UTIL_GetActiveHolidayString(); +#ifdef CLIENT_DLL +#define UTIL_VarArgs VarArgs +#else +#define VarArgs UTIL_VarArgs +#endif #endif // UTIL_SHARED_H