summaryrefslogtreecommitdiff
path: root/lisp/mp/mpi.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/mp/mpi.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/mp/mpi.c')
-rw-r--r--lisp/mp/mpi.c2
1 files changed, 1 insertions, 1 deletions
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