From cdcc17ee374419fc4b02e8a1081e4e16efc406d2 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Fri, 17 Aug 2012 23:48:41 +0200 Subject: [PATCH] Christoph Korn/PlayDeb.net: support additional architechtures --- simgear/nasal/naref.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/simgear/nasal/naref.h b/simgear/nasal/naref.h index e52e28ac..66ddedb8 100644 --- a/simgear/nasal/naref.h +++ b/simgear/nasal/naref.h @@ -12,11 +12,14 @@ # 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 -- 2.39.5