summaryrefslogtreecommitdiff
path: root/cad/gnucap/patches/patch-ah
blob: c465030b9374540472fafcb9d22850c74487c239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ah,v 1.1 2005/12/20 12:02:15 joerg Exp $

--- src/test_isinf.cc.orig	2005-12-13 15:37:57.000000000 +0000
+++ src/test_isinf.cc
@@ -1,5 +1,7 @@
-#include "md.h"
-void foo()
+#include <math.h>
+
+double val;
+int foo()
 {
-  double x = isnan(2.3);
+	return isinf(val);
 }