diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:21:43 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:21:43 +0200 |
commit | 4682deeb62247d34de87f8e777f99e2d337fd377 (patch) | |
tree | 5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /lib/isnanl-nolibm.h | |
parent | 00893e79fc62966067af1a106567db96bd170338 (diff) |
New upstream version 1.3upstream/1.3upstream
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 |