git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6545
d7cf8633-e32d-0410-b094-
e92efae38249
extern int dpvsnprintf (char *buffer, size_t buffersize, const char *format, va_list args);
// A bunch of functions are forbidden for security reasons (and also to please MSVS 2005, for some of them)
extern int dpvsnprintf (char *buffer, size_t buffersize, const char *format, va_list args);
// A bunch of functions are forbidden for security reasons (and also to please MSVS 2005, for some of them)
+// LordHavoc: added #undef lines here to avoid warnings in Linux
+#undef strcat
#define strcat DO_NOT_USE_STRCAT__USE_STRLCAT_OR_MEMCPY
#define strcat DO_NOT_USE_STRCAT__USE_STRLCAT_OR_MEMCPY
#define strncat DO_NOT_USE_STRNCAT__USE_STRLCAT_OR_MEMCPY
#define strncat DO_NOT_USE_STRNCAT__USE_STRLCAT_OR_MEMCPY
#define strcpy DO_NOT_USE_STRCPY__USE_STRLCPY_OR_MEMCPY
#define strcpy DO_NOT_USE_STRCPY__USE_STRLCPY_OR_MEMCPY
#define strncpy DO_NOT_USE_STRNCPY__USE_STRLCPY_OR_MEMCPY
#define strncpy DO_NOT_USE_STRNCPY__USE_STRLCPY_OR_MEMCPY
//#define sprintf DO_NOT_USE_SPRINTF__USE_DPSNPRINTF
//#define sprintf DO_NOT_USE_SPRINTF__USE_DPSNPRINTF