mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-30 00:10:53 +00:00
Extended the arch check in src/client/header/client.h to include ia64
For ia64 it's necessary to define int as long long instead of long int. I know this for a fact because pointers that were encoded as long int in my LLVM and CLIPS bridge would fail horribly when passed out of clips back into LLVM. long long fixed it.
This commit is contained in:
parent
24d8f2c0ff
commit
a578fff56a
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
#define INT long int
|
#define INT long int
|
||||||
|
#elif defined __ia64__
|
||||||
|
/* I will have to double check this but if my experience in adding CLIPS to
|
||||||
|
* LLVM is any sign then long int will fail horribly but long long will work on
|
||||||
|
* ia64. I'll double check this on my zx6000. */
|
||||||
|
#define INT long long
|
||||||
#else
|
#else
|
||||||
#define INT int
|
#define INT int
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue