summaryrefslogtreecommitdiff
path: root/lisp/read.c
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-01-05 10:00:11 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-01-05 10:00:13 -0800
commitf3ce9aa82e26700d3c7ebe772ba1449bea0fdc31 (patch)
treec3c5456b02739f23215c0e7aa353d90214324f3d /lisp/read.c
parent97bb6ccc9ed75f38e339728642a9154004a93647 (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/read.c')
-rw-r--r--lisp/read.c2
1 files changed, 1 insertions, 1 deletions
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