From f3ce9aa82e26700d3c7ebe772ba1449bea0fdc31 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Tue, 5 Jan 2021 10:00:11 -0800 Subject: 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 --- lisp/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/read.c') 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 -- cgit v1.2.3