From: andy Date: Fri, 25 May 2007 15:49:10 +0000 (+0000) Subject: GCC on ppc linux uses a different architecture symbol than the same compiler on OS X X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52444d177bf319136de0a24ac129831a994f62d1;p=simgear.git GCC on ppc linux uses a different architecture symbol than the same compiler on OS X --- diff --git a/simgear/nasal/naref.h b/simgear/nasal/naref.h index 918b4c21..0599dd83 100644 --- a/simgear/nasal/naref.h +++ b/simgear/nasal/naref.h @@ -10,10 +10,10 @@ * tested */ # define NASAL_NAN64 #elif defined(_M_IX86) || defined(i386) || defined(__x86_64) || \ - defined(__ia64__) || defined(_M_IA64) || defined(__ARMEL__) + defined(__ia64__) || defined(_M_IA64) || defined(__ARMEL__) # define NASAL_LE -#elif defined(__sparc) || defined(__ppc__) || defined(__mips) || \ - defined(__ARMEB__) +#elif defined(__sparc) || defined(__ppc__) ||defined(__PPC) || \ + defined(__mips) || defined(__ARMEB__) # define NASAL_BE #else # error Unrecognized CPU architecture