$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
