summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-29 00:58:58 +0000
committerTim Angus <tim@ngus.net>2005-12-29 00:58:58 +0000
commitb128225d7083486ed1566de5a76e602baeecc8a5 (patch)
treed447b04f9b2ccd0ac21e74b256e33c322abc9725 /src/win32
parent4f03afa80f3c26996b750c69781c00b0e7c2058f (diff)
* Merged ioq3-r451 into trunk
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/win_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/win_main.c b/src/win32/win_main.c
index 61851c1a..73d0f485 100644
--- a/src/win32/win_main.c
+++ b/src/win32/win_main.c
@@ -48,7 +48,7 @@ static char sys_cmdline[MAX_STRING_CHARS];
#define ALT_SPANK
#ifdef ALT_SPANK
#include <stdio.h>
-#include <sys\stat.h>
+#include <sys/stat.h>
int fh = 0;
@@ -529,7 +529,6 @@ extern char *FS_BuildOSPath( const char *base, const char *game, const char *qp
// fqpath buffersize must be at least MAX_QPATH+1 bytes long
void * QDECL Sys_LoadDll( const char *name, char *fqpath , long (QDECL **entryPoint)(long, ...),
long (QDECL *systemcalls)(long, ...) ) {
- static int lastWarning = 0;
HINSTANCE libHandle;
void (QDECL *dllEntry)( long (QDECL *syscallptr)(long, ...) );
char *basepath;
@@ -537,6 +536,7 @@ void * QDECL Sys_LoadDll( const char *name, char *fqpath , long (QDECL **entryPo
char *gamedir;
char *fn;
#ifdef NDEBUG
+ static int lastWarning = 0;
int timestamp;
int ret;
#endif