* Support for MinGW cross compilation
This commit is contained in:
1 parent
aa3f7e1eb1
commit
310190a466
7 files changed
+104
-102
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user