posix/epicsMath.h
Include "<cmath>" for c++11 and pull in non-namespace versions of isnan() and friends.
This commit is contained in:
@@ -15,12 +15,14 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#if __cplusplus>=201103L
|
||||
#include <cmath>
|
||||
|
||||
using std::isfinite;
|
||||
using std::isinf;
|
||||
using std::isnan;
|
||||
using std::isnormal;
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user