diff options
Diffstat (limited to 'cad/ng-spice/patches/patch-aj')
-rw-r--r-- | cad/ng-spice/patches/patch-aj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/ng-spice/patches/patch-aj b/cad/ng-spice/patches/patch-aj new file mode 100644 index 00000000000..3e0b7ac3e38 --- /dev/null +++ b/cad/ng-spice/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2005/12/28 16:06:37 joerg Exp $ + +--- src/misc/missing_math.h.orig 2005-12-28 15:49:19.000000000 +0000 ++++ src/misc/missing_math.h +@@ -20,7 +20,7 @@ double scalb(double, int); + # endif + #endif + +-#ifndef HAVE_ISNAN ++#if !defined(HAVE_ISNAN) && !defined(isnan) + int isnan(double value); + #endif /* HAVE_ISNAN */ + |