diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2021-01-05 10:00:11 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2021-01-05 10:00:13 -0800 |
commit | f3ce9aa82e26700d3c7ebe772ba1449bea0fdc31 (patch) | |
tree | c3c5456b02739f23215c0e7aa353d90214324f3d /lisp | |
parent | 97bb6ccc9ed75f38e339728642a9154004a93647 (diff) |
Followup to previous commit to use isinfinite for darwin rather than arm64.
It's deprecated on Intel as well as of macOS 10.9. This also restores
behavior on other platforms that define __arm64__.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/core.c | 2 | ||||
-rw-r--r-- | lisp/math.c | 2 | ||||
-rw-r--r-- | lisp/mp/mpi.c | 2 | ||||
-rw-r--r-- | lisp/read.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lisp/core.c b/lisp/core.c index af40fea..0cc455e 100644 --- a/lisp/core.c +++ b/lisp/core.c @@ -62,7 +62,7 @@ typedef struct _SeqInfo { break; \ } -#if defined(__UNIXOS2__) || defined(__arm64__) +#if defined(__UNIXOS2__) || defined(__APPLE__) # define finite(x) isfinite(x) #endif diff --git a/lisp/math.c b/lisp/math.c index bba21cd..f298e5c 100644 --- a/lisp/math.c +++ b/lisp/math.c @@ -32,7 +32,7 @@ #include "lisp/math.h" #include "lisp/private.h" -#if defined(__UNIXOS2__) || defined(__arm64__) +#if defined(__UNIXOS2__) || defined(__APPLE__) # define finite(x) isfinite(x) #endif diff --git a/lisp/mp/mpi.c b/lisp/mp/mpi.c index 28319b0..7fcc30e 100644 --- a/lisp/mp/mpi.c +++ b/lisp/mp/mpi.c @@ -31,7 +31,7 @@ #include "mp.h" -#if defined(__UNIXOS2__) || defined(__arm64__) +#if defined(__UNIXOS2__) || defined(__APPLE__) # define finite(x) isfinite(x) #endif diff --git a/lisp/read.c b/lisp/read.c index f24a292..4103736 100644 --- a/lisp/read.c +++ b/lisp/read.c @@ -62,7 +62,7 @@ #define READ_ERROR_FIXNUM() READ_ERROR0("number is not a fixnum") #define READ_ERROR_INVARG() READ_ERROR0("invalid argument") -#if defined(__UNIXOS2__) || defined(__arm64__) +#if defined(__UNIXOS2__) || defined(__APPLE__) # define finite(x) isfinite(x) #endif |