From 14c79d9ffbb9e43b3f99f041f2bfa83d2c03339b Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Tue, 15 Nov 2016 22:50:41 +0000 Subject: [PATCH] Nasal: disable NASAL_NAN64 on non-x86 Not every architecture has <=48-bit virtual address spaces: http://meetings-archive.debian.net/pub/debian-meetings/2016/miniconf_cambridge16/Thanks_for_the_Memory.webm --- simgear/nasal/naref.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/simgear/nasal/naref.h b/simgear/nasal/naref.h index a8a7167f..217b7477 100644 --- a/simgear/nasal/naref.h +++ b/simgear/nasal/naref.h @@ -1,10 +1,9 @@ #ifndef _NAREF_H #define _NAREF_H -#if (defined(__x86_64) && defined(__linux__)) || defined(__sparcv9) || \ - defined(__powerpc64__) +#if (defined(__x86_64) && defined(__linux__)) /* NASAL_NAN64 mode requires 64 bit pointers that only use the - * lower 48 bits; Win64 and Irix should work with this too, but + * lower 48 bits; x86 Win64 and Irix should work with this too, but * have not been tested */ # define NASAL_NAN64 #elif defined(__BYTE_ORDER__)