Fix compile error after recent 9c2bbfb6 commit.
authorHoward Trickey <howard.trickey@gmail.com>
Fri, 30 Jun 2017 11:47:37 +0000 (07:47 -0400)
committerHoward Trickey <howard.trickey@gmail.com>
Fri, 30 Jun 2017 11:47:37 +0000 (07:47 -0400)
Older C++ compilers use finite instead of isfinite.

intern/elbeem/intern/isosurface.cpp

index b29c9e2035891a6abe33523f89da03cb2c92ee5b..dc2cf684200df0843c098859298e0d23eb9a5cce 100644 (file)
 #include "ieeefp.h"
 #endif
 
+#if  __cplusplus < 201103L
+#define isfinite finite
+#endif
+
 // just use default rounding for platforms where its not available
 #ifndef round
 #define round(x) (x)