aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]ChangeLog5
-rw-r--r--custom.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ce666c6..31d3d7a0 100644..100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
physical newlines in a string.
* node.c (make_str_node): Ditto.
+2018-08-01 John E. Malmberg <wb8tyw@qsl.net>
+
+ * custom.h: Include fp.h on OpenVMS.
+ Workaround for bug in math.h missing some declarations.
+
2018-07-31 Arnold D. Robbins <arnold@skeeve.com>
* interpret.h (unfield): Add a call to force_string() on
diff --git a/custom.h b/custom.h
index 90fd1f63..0ec8d1f9 100644
--- a/custom.h
+++ b/custom.h
@@ -38,6 +38,14 @@
#include "vms/redirect.h"
#endif
+/* OpenVMS has some definitions in fp.h that should be in math.h */
+/* From John Malmberg, wb8tyw@qsl.net */
+#ifdef __VMS
+#include <fp.h>
+/* isnan () macro is broken */
+#undef isnan
+#endif
+
/* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */
#ifdef __QNX__
#define GETPGRP_VOID 1