aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:26:41 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-08-02 20:26:41 +0300
commit3998ed059bbcfc189cd0d6c5762913fbd4ff4e77 (patch)
tree4287f8de43dc4cd70c01c311b9484b2030903c86
parent23356c2d522bf17b4acb314f7aa6503a62db2765 (diff)
parent4ad924c4988cfbe68b3a81c3647b0cced9fd2af3 (diff)
downloadegawk-3998ed059bbcfc189cd0d6c5762913fbd4ff4e77.tar.gz
egawk-3998ed059bbcfc189cd0d6c5762913fbd4ff4e77.tar.bz2
egawk-3998ed059bbcfc189cd0d6c5762913fbd4ff4e77.zip
Merge branch 'gawk-4.2-stable' of ssh://git.sv.gnu.org/srv/git/gawk into gawk-4.2-stable
-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