mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 09:51:21 +00:00
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
This commit is contained in:
parent
59cce31e75
commit
f46ede91fb
23 changed files with 150 additions and 84 deletions
|
@ -349,6 +349,8 @@ void Sys_Init(void)
|
|||
#if defined __linux__
|
||||
#if defined __i386__
|
||||
Cvar_Set( "arch", "linux i386" );
|
||||
#elif defined __x86_64__
|
||||
Cvar_Set( "arch", "linux x86_64" );
|
||||
#elif defined __alpha__
|
||||
Cvar_Set( "arch", "linux alpha" );
|
||||
#elif defined __sparc__
|
||||
|
@ -724,6 +726,8 @@ void *Sys_LoadDll( const char *name, char *fqpath ,
|
|||
getcwd(curpath, sizeof(curpath));
|
||||
#if defined __i386__
|
||||
snprintf (fname, sizeof(fname), "%si386.so", name);
|
||||
#elif defined __x86_64__
|
||||
snprintf (fname, sizeof(fname), "%sx86_64.so", name);
|
||||
#elif defined __powerpc__ //rcg010207 - PPC support.
|
||||
snprintf (fname, sizeof(fname), "%sppc.so", name);
|
||||
#elif defined __axp__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue