* Support for MinGW cross compilation
This commit is contained in:
parent
aa3f7e1eb1
commit
310190a466
7 changed files with 104 additions and 102 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue