diff options
Diffstat (limited to 'lib/isnanl-nolibm.h')
-rw-r--r-- | lib/isnanl-nolibm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/isnanl-nolibm.h b/lib/isnanl-nolibm.h index 3ea82f7d..f0219dea 100644 --- a/lib/isnanl-nolibm.h +++ b/lib/isnanl-nolibm.h @@ -35,5 +35,12 @@ /* Test whether X is a NaN. */ # undef isnanl # define isnanl rpl_isnanl -extern int isnanl (long double x); +extern +# ifdef __cplusplus +"C" +# endif +int isnanl (long double x); #endif + +/* Tell <math.h> that our isnanl does not need libm. */ +#define HAVE_ISNANL_NOLIBM 1 |