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