diff --git a/test/testautomation_math.c b/test/testautomation_math.c index 1f2dbde1c..a799f691e 100644 --- a/test/testautomation_math.c +++ b/test/testautomation_math.c @@ -25,7 +25,7 @@ #define EULER M_E #endif -#define IS_INFINITY(V) fpclassify(V) == FP_INFINITE +#define IS_INFINITY(V) isinf(V) /* Square root of 3 (used in atan2) */ #define SQRT3 1.7320508075688771931766041234368458390235900878906250