]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/naref.h
Add ppc64 to the list of supported platforms based on testing by Tom Callaway at...
[simgear.git] / simgear / nasal / naref.h
index 918b4c2124bff71f0b766bd579921e9e144de159..153de6f1bf75eb4dae67c524f80b8850e29b33bd 100644 (file)
@@ -5,15 +5,16 @@
  * platform-dependent endianness headers, just detect the platforms we
  * support.  This list is simpler and smaller, yet still quite
  * complete. */
-#if (defined(__x86_64) && defined(__linux__)) || defined(__sparcv9)
+#if (defined(__x86_64) && defined(__linux__)) || defined(__sparcv9) || \
+    defined(__powerpc64__)
 /* Win64 and Irix should work with this too, but have not been
  * 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