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.

This commit is contained in:
squeek 2013-11-04 04:54:38 +00:00
parent f77368db62
commit 35bd31cb39
1 changed files with 5 additions and 0 deletions

View File

@ -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