Fix for compiling m4 on VAX
John Klos <[email protected]> Wed, 30 Oct 2013 01:29:42 +0000 (UTC)
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I'd like to request that this tiny patch be fixed so that m4 will compile
on NetBSD VAXen:
--- lib/isnan.c.orig 2013-09-22 06:15:20.000000000 +0000
+++ lib/isnan.c
@@ -118,7 +118,7 @@ FUNC (DOUBLE x)
/* Be careful to not do any floating-point operation on x, such as x == x,
because x may be a signaling NaN. */
# if defined __SUNPRO_C || defined __ICC || defined _MSC_VER \
- || defined __DECC || defined __TINYC__ \
+ || defined __DECC || defined __TINYC__ || defined __vax__ \
|| (defined __sgi && !defined __GNUC__)
/* The Sun C 5.0, Intel ICC 10.0, Microsoft Visual C/C++ 9.0, Compaq (ex-DEC)
6.4, and TinyCC compilers don't recognize the initializers as constant
Thanks very much,
John Klos