aboutsummaryrefslogtreecommitdiffstats
path: root/code/win32
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
commit85b16a6050111701725b7f6eb335da97cea23de1 (patch)
tree6cfe5acc5c1d998ecf16a8298a0c8200b1393ec0 /code/win32
parent36fa51ec1544557d4ce722e1fadf97bbea7b4d5b (diff)
downloadioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.tar.gz
ioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.zip
* Support for MinGW cross compilation
git-svn-id: svn://svn.icculus.org/quake3/trunk@451 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/win32')
-rw-r--r--code/win32/win_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/win32/win_main.c b/code/win32/win_main.c
index ea73fb5..9c97183 100644
--- a/code/win32/win_main.c
+++ b/code/win32/win_main.c
@@ -47,7 +47,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;
@@ -528,7 +528,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;
@@ -536,6 +535,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