From 6a51ce0b588cb0059ebba2f301ca7b819e47aa3b Mon Sep 17 00:00:00 2001 From: Dickinson Lo Date: Mon, 3 Mar 2008 05:46:37 +0000 Subject: [PATCH] adding 64bit flags --- dtool/Config.Linux.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dtool/Config.Linux.pp b/dtool/Config.Linux.pp index 8b6b41c8c3..b7f29e9ce4 100644 --- a/dtool/Config.Linux.pp +++ b/dtool/Config.Linux.pp @@ -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