diff options
| author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-30 20:30:17 +0000 | 
|---|---|---|
| committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-30 20:30:17 +0000 | 
| commit | c3f255e38a077ac61bed4e2a1cec41ea05ca26a0 (patch) | |
| tree | 5f95d0afa9208cf2e964565b7065d3f014a553c2 /code/unix | |
| parent | cb550ebf221dbdf9d341b3f69b132088eb827304 (diff) | |
| download | ioquake3-aero-c3f255e38a077ac61bed4e2a1cec41ea05ca26a0.tar.gz ioquake3-aero-c3f255e38a077ac61bed4e2a1cec41ea05ca26a0.zip  | |
support for 64bit native mods
git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
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;  | 
