diff options
Diffstat (limited to 'code/unix')
-rw-r--r-- | code/unix/Makefile | 1 | ||||
-rw-r--r-- | code/unix/unix_main.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index 2e4dafc..925cf07 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -130,6 +130,7 @@ ifeq ($(PLATFORM),linux) OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fno-strict-aliasing ifeq ($(ARCH),x86_64) OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce -fno-strict-aliasing + BASE_CFLAGS += -DHAVE_VM_NATIVE else ifeq ($(ARCH),i386) OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce diff --git a/code/unix/unix_main.c b/code/unix/unix_main.c index a00bc43..df64f38 100644 --- a/code/unix/unix_main.c +++ b/code/unix/unix_main.c @@ -708,11 +708,11 @@ changed the load procedure to match VFS logic, and allow developer use extern char *FS_BuildOSPath( const char *base, const char *game, const char *qpath ); void *Sys_LoadDll( const char *name, char *fqpath , - int (**entryPoint)(int, ...), - int (*systemcalls)(int, ...) ) + long (**entryPoint)(long, ...), + long (*systemcalls)(long, ...) ) { void *libHandle; - void (*dllEntry)( int (*syscallptr)(int, ...) ); + void (*dllEntry)( long (*syscallptr)(long, ...) ); char curpath[MAX_OSPATH]; char fname[MAX_OSPATH]; char *basepath; |