Fix Win64 SDL build

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4012 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2012-03-27 03:01:13 +00:00
parent 47b0283d10
commit 9657eb2637

View file

@ -166,6 +166,16 @@ char basefolder[MAX_PATH];
char basefolder[MAX_QPATH];
#endif
#ifdef _WIN64
#ifdef _SDL
#define snprintf linuxlike_snprintf
int VARGS linuxlike_snprintf(char *buffer, int size, const char *format, ...) LIKEPRINTF(3);
#define vsnprintf linuxlike_vsnprintf
int VARGS linuxlike_vsnprintf(char *buffer, int size, const char *format, va_list argptr);
//void *__imp__vsnprintf = vsnprintf;
#endif
#endif
//===========================================================================
//
// Parameter: -