summaryrefslogtreecommitdiff
path: root/app/xedit/lisp
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2022-06-26 10:25:59 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2022-06-26 10:25:59 +0000
commit94272878824cb35121979eb3375a569247a9c48b (patch)
tree9e6f3158ba23485f3d0ff208091871671a44b649 /app/xedit/lisp
parentca879d3bcf798eb758245809a1be98cbf40a9edf (diff)
Update xedit to version 1.2.3
Bug fixes
Diffstat (limited to 'app/xedit/lisp')
-rw-r--r--app/xedit/lisp/core.c2
-rw-r--r--app/xedit/lisp/math.c2
-rw-r--r--app/xedit/lisp/mp/mpi.c2
-rw-r--r--app/xedit/lisp/read.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/xedit/lisp/core.c b/app/xedit/lisp/core.c
index 46930a2f5..0cc455e10 100644
--- a/app/xedit/lisp/core.c
+++ b/app/xedit/lisp/core.c
@@ -62,7 +62,7 @@ typedef struct _SeqInfo {
break; \
}
-#ifdef __UNIXOS2__
+#if defined(__UNIXOS2__) || defined(__APPLE__)
# define finite(x) isfinite(x)
#endif
diff --git a/app/xedit/lisp/math.c b/app/xedit/lisp/math.c
index bdca0348e..f298e5c7c 100644
--- a/app/xedit/lisp/math.c
+++ b/app/xedit/lisp/math.c
@@ -32,7 +32,7 @@
#include "lisp/math.h"
#include "lisp/private.h"
-#ifdef __UNIXOS2__
+#if defined(__UNIXOS2__) || defined(__APPLE__)
# define finite(x) isfinite(x)
#endif
diff --git a/app/xedit/lisp/mp/mpi.c b/app/xedit/lisp/mp/mpi.c
index 447bd23aa..7fcc30e49 100644
--- a/app/xedit/lisp/mp/mpi.c
+++ b/app/xedit/lisp/mp/mpi.c
@@ -31,7 +31,7 @@
#include "mp.h"
-#ifdef __UNIXOS2__
+#if defined(__UNIXOS2__) || defined(__APPLE__)
# define finite(x) isfinite(x)
#endif
diff --git a/app/xedit/lisp/read.c b/app/xedit/lisp/read.c
index 02f71f61c..4103736e2 100644
--- a/app/xedit/lisp/read.c
+++ b/app/xedit/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")
-#ifdef __UNIXOS2__
+#if defined(__UNIXOS2__) || defined(__APPLE__)
# define finite(x) isfinite(x)
#endif