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:
@@ -1,10 +1,9 @@
|
|||||||
#ifndef _NAREF_H
|
#ifndef _NAREF_H
|
||||||
#define _NAREF_H
|
#define _NAREF_H
|
||||||
|
|
||||||
#if (defined(__x86_64) && defined(__linux__)) || defined(__sparcv9) || \
|
#if (defined(__x86_64) && defined(__linux__))
|
||||||
defined(__powerpc64__)
|
|
||||||
/* NASAL_NAN64 mode requires 64 bit pointers that only use the
|
/* 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 */
|
* have not been tested */
|
||||||
# define NASAL_NAN64
|
# define NASAL_NAN64
|
||||||
#elif defined(__BYTE_ORDER__)
|
#elif defined(__BYTE_ORDER__)
|
||||||
|
|||||||
Reference in New Issue
Block a user