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:
parent
47b0283d10
commit
9657eb2637
1 changed files with 12 additions and 2 deletions
|
@ -166,6 +166,16 @@ char basefolder[MAX_PATH];
|
||||||
char basefolder[MAX_QPATH];
|
char basefolder[MAX_QPATH];
|
||||||
#endif
|
#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: -
|
// Parameter: -
|
||||||
|
|
Loading…
Reference in a new issue