uname -i doesnt work in all cases, uname -m does.

This commit is contained in:
rdb 2008-06-13 18:28:00 +00:00
parent f6f31c3afb
commit 5cd24b98bd

View File

@ -22,7 +22,7 @@
#define IS_LINUX 1
// What additional flags should we pass to interrogate?
#if $[eq $[shell uname -i], x86_64] // if Linux is 64bit
#if $[eq $[shell uname -m], x86_64] // if Linux is 64bit
#define SYSTEM_IGATE_FLAGS -D_LP64
#else
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable