libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4

This fix can be removed once support for gcc-4 is dropped in 2038
This commit is contained in:
Ralph Lange
2019-12-06 10:52:38 +01:00
parent 70e9d46d75
commit 09ec3af337

View File

@@ -18,8 +18,10 @@
#include <cmath>
using std::isfinite;
#ifndef __GXX_EXPERIMENTAL_CXX0X__
using std::isinf;
using std::isnan;
#endif
using std::isnormal;
extern "C" {