diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-26 23:15:44 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-26 23:15:44 +0000 |
commit | 6129e1159841558aa366a70422f23ecf6dbf4219 (patch) | |
tree | 30e4c0096e1447745c9af44af9e4bb11fa57664f /code/unix | |
parent | 5d019aaa30d49f86362cb87345fb8c7c7a7cf85e (diff) | |
download | ioquake3-aero-6129e1159841558aa366a70422f23ecf6dbf4219.tar.gz ioquake3-aero-6129e1159841558aa366a70422f23ecf6dbf4219.zip |
* Add notional support for various architectures from vapier. Whether or not
these architectures work in practice is another matter :).
git-svn-id: svn://svn.icculus.org/quake3/trunk@186 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r-- | code/unix/unix_main.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/code/unix/unix_main.c b/code/unix/unix_main.c index d8c9496..5c51615 100644 --- a/code/unix/unix_main.c +++ b/code/unix/unix_main.c @@ -368,6 +368,16 @@ void Sys_Init(void) Cvar_Set( "arch", "linux alpha" ); # elif defined __sparc__ Cvar_Set( "arch", "linux sparc" ); +# elif defined __arm__ + Cvar_Set( "arch", "linux arm" ); +# elif defined __cris__ + Cvar_Set( "arch", "linux cris" ); +# elif defined __hppa__ + Cvar_Set( "arch", "linux hppa" ); +# elif defined __mips__ + Cvar_Set( "arch", "linux mips" ); +# elif defined __sh__ + Cvar_Set( "arch", "linux sh" ); # else # error unsupported architecture #endif @@ -780,10 +790,18 @@ void *Sys_LoadDll( const char *name, char *fqpath , snprintf (fname, sizeof(fname), "%ss390x.so", name); #elif defined __ia64__ snprintf (fname, sizeof(fname), "%sia64.so", name); -#elif defined __axp__ +#elif defined __alpha__ snprintf (fname, sizeof(fname), "%saxp.so", name); #elif defined __mips__ snprintf (fname, sizeof(fname), "%smips.so", name); +#elif defined __arm__ + snprintf (fname, sizeof(fname), "%sarm.so", name); +#elif defined __cris__ + snprintf (fname, sizeof(fname), "%scris.so", name); +#elif defined __hppa__ + snprintf (fname, sizeof(fname), "%shppa.so", name); +#elif defined __sh__ + snprintf (fname, sizeof(fname), "%ssh.so", name); #else #error Unknown arch #endif |