support for 64bit native mods
This commit is contained in:
1 parent
334fa9c48c
commit
88171d6bb7
14 files changed
+50
-51
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user