diff options
Diffstat (limited to 'tests/test-isfinite.c')
-rw-r--r-- | tests/test-isfinite.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-isfinite.c b/tests/test-isfinite.c index 2d718e2ccc..fc2f23c0d9 100644 --- a/tests/test-isfinite.c +++ b/tests/test-isfinite.c @@ -21,6 +21,11 @@ #include <math.h> +/* isfinite must be a macro. */ +#ifndef isfinite +# error missing declaration +#endif + #include <float.h> #include <limits.h> #include <stdio.h> |