Skip to content

Commit

Permalink
libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Dec 6, 2019
1 parent 2ac0cc0 commit 299fa05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/libcom/src/osi/os/posix/epicsMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 299fa05

Please sign in to comment.