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:
Joshua Scoggins 2012-11-30 20:30:28 -08:00
parent 24d8f2c0ff
commit a578fff56a

View file

@ -29,6 +29,11 @@
#ifdef __x86_64__
#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
#define INT int
#endif