adding 64bit flags

This commit is contained in:
Dickinson Lo 2008-03-03 05:46:37 +00:00
parent 02b2d76274
commit 6a51ce0b58
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@
#define IS_LINUX 1
// What additional flags should we pass to interrogate?
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
#if $[eq $[shell uname -i], x86_64] // if Linux is 64bit
#define SYSTEM_IGATE_FLAGS -D_LP64
#else
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
// Is the platform big-endian (like an SGI workstation) or
// little-endian (like a PC)? Define this to the empty string to