]> git.mxchange.org Git - simgear.git/commitdiff
GCC on ppc linux uses a different architecture symbol than the same compiler on OS X
authorandy <andy>
Fri, 25 May 2007 15:49:10 +0000 (15:49 +0000)
committerandy <andy>
Fri, 25 May 2007 15:49:10 +0000 (15:49 +0000)
simgear/nasal/naref.h

index 918b4c2124bff71f0b766bd579921e9e144de159..0599dd83a67c7d2c28122aa0491fc9386261a5ba 100644 (file)
  * 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