summaryrefslogtreecommitdiff
path: root/devel/m4/patches/patch-aa
blob: 94ec21340904057f5bf96598d562059fb2562ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.13 2010/03/25 04:39:01 jklos Exp $

--- lib/isnan.c.orig	2010-03-24 21:31:20.000000000 +0000
+++ lib/isnan.c
@@ -117,7 +117,7 @@ FUNC (DOUBLE x)
 # else
   /* 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 __DECC || (defined __sgi && !defined __GNUC__)
+#  if defined __SUNPRO_C || defined __DECC || (defined __sgi && !defined __GNUC__) || defined __vax__
   /* The Sun C 5.0 compilers and the Compaq (ex-DEC) 6.4 compilers don't
      recognize the initializers as constant expressions.  The latter compiler
      also fails when constant-folding 0.0 / 0.0 even when constant-folding is