Fixed Win64 SDL abit, and tweaked Android to work better with buildbot

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4046 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2012-05-11 01:20:36 +00:00
parent 38e0063b39
commit 376324eacf
4 changed files with 22 additions and 5 deletions

View file

@ -44,6 +44,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "be_interface.h"
#include "be_aas_def.h"
#ifdef _WIN64
#ifdef _SDL
#define vsnprintf linuxlike_vsnprintf
#endif
#endif
aas_t aasworld;
libvar_t *saveroutingcache;

View file

@ -109,6 +109,12 @@ typedef struct directive_s
#define TOKEN_HEAP_SIZE 4096
#ifdef _WIN64
#ifdef _SDL
#define vsnprintf linuxlike_vsnprintf
#endif
#endif
int numtokens;
/*
int tokenheapinitialized; //true when the token heap is initialized

View file

@ -168,11 +168,7 @@ char basefolder[MAX_QPATH];
#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