MinGW defines some of these macros.

This commit is contained in:
Andrew Johnson
2008-07-29 20:39:26 +00:00
parent a6585880f4
commit 723ea22719

View File

@@ -14,8 +14,16 @@
#include <math.h>
#include <float.h>
#ifndef finite
#define finite(D) _finite(D)
#endif
#ifndef isnan
#define isnan(D) _isnan(D)
#endif
#ifndef isinf
#define isinf(D) ( !_finite(D) && !_isnan(D) )
#endif
#endif /* epicsMathh */