From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- lib/isnanf-nolibm.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'lib/isnanf-nolibm.h') diff --git a/lib/isnanf-nolibm.h b/lib/isnanf-nolibm.h index 520b8147..d004bbe8 100644 --- a/lib/isnanf-nolibm.h +++ b/lib/isnanf-nolibm.h @@ -35,12 +35,23 @@ # if defined __sgi /* We can't include , because it conflicts with our definition of isnand. Therefore declare isnanf separately. */ -extern int isnanf (float x); +extern +# ifdef __cplusplus +"C" +# endif +int isnanf (float x); # endif # endif #else /* Test whether X is a NaN. */ # undef isnanf # define isnanf rpl_isnanf -extern int isnanf (float x); +extern +# ifdef __cplusplus +"C" +# endif +int isnanf (float x); #endif + +/* Tell that our isnanf does not need libm. */ +#define HAVE_ISNANF_NOLIBM 1 -- cgit v1.2.3