diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-27 17:22:44 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-27 17:22:44 +0000 |
commit | 709180b16be4653de4f57964b653737c3254a0fd (patch) | |
tree | 4f797e7572438bb02bc062e3a32eb10f9c76f0d8 | |
parent | 89d6dbfa484b3349221fce8e7662d7d7540c9433 (diff) |
workaround for bug in Mac OS X 10.3 headers
svn path=/trunk/externals/creb/; revision=5757
-rw-r--r-- | modules++/blosc.cc | 9 |
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; |