3e595e5922
libraries.
18 lines
421 B
Text
18 lines
421 B
Text
$NetBSD: patch-ai,v 1.3 2007/06/06 11:10:34 markd Exp $
|
|
|
|
--- kcalc/knumber/knumber.cpp.orig 2007-01-16 00:25:36.000000000 +1300
|
|
+++ kcalc/knumber/knumber.cpp
|
|
@@ -27,6 +27,13 @@
|
|
|
|
#include "knumber.h"
|
|
|
|
+#ifndef HAVE_FUNC_ISINF
|
|
+ /* defined in kcalc_core.cpp */
|
|
+
|
|
+#undef isinf
|
|
+extern int isinf(double x);
|
|
+#endif
|
|
+
|
|
KNumber const KNumber::Zero(0);
|
|
KNumber const KNumber::One(1);
|
|
KNumber const KNumber::MinusOne(-1);
|