From 709180b16be4653de4f57964b653737c3254a0fd Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 27 Aug 2006 17:22:44 +0000 Subject: workaround for bug in Mac OS X 10.3 headers svn path=/trunk/externals/creb/; revision=5757 --- modules++/blosc.cc | 9 +++++++++ 1 file changed, 9 insertions(+) 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 */ +//#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; -- cgit v1.2.1