]> git.mxchange.org Git - simgear.git/commitdiff
Christoph Korn/PlayDeb.net: support additional architechtures
authorThorstenB <brehmt@gmail.com>
Fri, 17 Aug 2012 21:48:41 +0000 (23:48 +0200)
committerThorstenB <brehmt@gmail.com>
Fri, 17 Aug 2012 21:48:41 +0000 (23:48 +0200)
simgear/nasal/naref.h

index e52e28ac32b431ebe78551250cf0d19e35b4dda8..66ddedb822ed21ad2beaa14c4187c5bd70ba5828 100644 (file)
 # define NASAL_NAN64
 #elif defined(_M_IX86) || defined(i386) || defined(__x86_64) || \
       defined(__ia64__) || defined(_M_IA64) || defined(__ARMEL__) || \
-      defined(_M_X64) 
+      defined(_M_X64) || defined(__alpha__) || \
+      (defined(__sh__) && defined(__LITTLE_ENDIAN__))
 # define NASAL_LE
 #elif defined(__sparc) || defined(__ppc__) || defined(__PPC) || \
       defined (__powerpc__) || defined (__powerpc64__) || defined (__alpha__) || \
-      defined(__mips) || defined(__ARMEB__)
+      defined(__mips) || defined(__ARMEB__) || \
+      defined(__hppa__) || defined(__s390__) || defined(__s390x__) || \
+      (defined(__sh__) && !defined(__LITTLE_ENDIAN__))
 # define NASAL_BE
 #else
 # error Unrecognized CPU architecture