16 lines
454 B
Plaintext
16 lines
454 B
Plaintext
$OpenBSD: patch-kmplot_kmplot_view_cpp,v 1.1 2010/06/19 18:43:38 espie Exp $
|
|
--- kmplot/kmplot/view.cpp.orig Sat Jun 19 19:29:25 2010
|
|
+++ kmplot/kmplot/view.cpp Sat Jun 19 19:29:49 2010
|
|
@@ -79,6 +79,11 @@ using namespace std;
|
|
|
|
//BEGIN nan & inf
|
|
|
|
+#if defined(__OpenBSD__)
|
|
+using std::isnan;
|
|
+using std::isinf;
|
|
+#endif
|
|
+
|
|
#if defined(__APPLE__) || defined(_MSC_VER)
|
|
// work around an OSX <cmath> bug; is there a proper way to fix this?
|
|
#ifndef isnan
|