Kaydet (Commit) 183b2ff7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst a6c88e4b
...@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\ ...@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\
external/firebird/firebird-gcc6.patch.1 \ external/firebird/firebird-gcc6.patch.1 \
external/firebird/wnt-dbgutil.patch \ external/firebird/wnt-dbgutil.patch \
external/firebird/debug-gfix-failure.patch \ external/firebird/debug-gfix-failure.patch \
external/firebird/libc++.patch \
)) ))
ifeq ($(OS)-$(COM),WNT-MSC) ifeq ($(OS)-$(COM),WNT-MSC)
......
--- 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment