From 60a092fa50e36a4843c3b441557d810a828fc333 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 16 Dec 2019 10:28:27 -0800 Subject: [PATCH] posix/epicsMath.h Include "" for c++11 and pull in non-namespace versions of isnan() and friends. --- src/libCom/osi/os/posix/epicsMath.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libCom/osi/os/posix/epicsMath.h b/src/libCom/osi/os/posix/epicsMath.h index 13f25e520..a8e9b815f 100644 --- a/src/libCom/osi/os/posix/epicsMath.h +++ b/src/libCom/osi/os/posix/epicsMath.h @@ -15,12 +15,14 @@ #ifdef __cplusplus +#if __cplusplus>=201103L #include using std::isfinite; using std::isinf; using std::isnan; using std::isnormal; +#endif extern "C" { #endif