aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-27 17:22:44 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-27 17:22:44 +0000
commit709180b16be4653de4f57964b653737c3254a0fd (patch)
tree4f797e7572438bb02bc062e3a32eb10f9c76f0d8
parent89d6dbfa484b3349221fce8e7662d7d7540c9433 (diff)
workaround for bug in Mac OS X 10.3 headers
svn path=/trunk/externals/creb/; revision=5757
-rw-r--r--modules++/blosc.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules++/blosc.cc b/modules++/blosc.cc
index 617d068..f2b13d8 100644
--- a/modules++/blosc.cc
+++ b/modules++/blosc.cc
@@ -29,6 +29,15 @@
#include "DSPIcomplex.h"
#include "DSPIfilters.h"
+/* work around old bug in Apple compilers <hans@at.or.at> */
+//#if MAC_OS_X_VERSION < MAC_OS_X_VERSION_10_4 // arg, this didn't work
+#ifndef isnan
+extern "C" int isnan(double);
+#endif
+#ifndef isinf
+extern "C" int isinf(double);
+#endif
+
typedef unsigned long long u64;
typedef unsigned long u32;