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
This commit is contained in:
Rebecca N. Palmer
2016-11-15 22:50:41 +00:00
parent 3009aadaa6
commit 14c79d9ffb

View File

@@ -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__)