183b2ff719
...which, at least since version 3.9, defines isinf only as a function, not as a macro, in math.h Change-Id: I7939d5bebe4b55ac7bd36bb321ad0020352a0e7b
11 lines
263 B
Diff
11 lines
263 B
Diff
--- src/common/classes/FpeControl.h
|
|
+++ src/common/classes/FpeControl.h
|
|
@@ -222,7 +222,7 @@
|
|
{
|
|
return (!_finite (x) && !isnan(x));
|
|
}
|
|
-#else
|
|
+#elif !defined _LIBCPP_VERSION || _LIBCPP_VERSION < 3900
|
|
#ifndef isinf
|
|
template <typename F>
|
|
inline bool isinf(F x)
|