office-gobmx/external/firebird/libc++.patch
Stephan Bergmann 183b2ff719 external/firebird: Fix isinf-check for libc++
...which, at least since version 3.9, defines isinf only as a function, not as a
macro, in math.h

Change-Id: I7939d5bebe4b55ac7bd36bb321ad0020352a0e7b
2016-10-05 20:38:08 +02:00

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)