summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-08-05 18:22:12 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-08-05 18:22:56 +0200
commit6ff4fcbfe507605b2796eb8e7e44c7e8e4b33a28 (patch)
tree7e11011f84e89854cc5b9fa1b8a7a4f2205b1b4b /libc
parenta49b3a18e463cbe8c94c41501e386e7f4c61609e (diff)
math: isnan is a C99 feature
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/mathcalls.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/bits/mathcalls.h b/libc/sysdeps/linux/common/bits/mathcalls.h
index df2e21cc8..3772b7d0d 100644
--- a/libc/sysdeps/linux/common/bits/mathcalls.h
+++ b/libc/sysdeps/linux/common/bits/mathcalls.h
@@ -235,15 +235,14 @@ __MATHCALLX (nan,, (__const char *__tagb), (__const__))
__END_NAMESPACE_C99
#endif
-
-/* Return nonzero if VALUE is not a number. */
-/* DELETE? __MATHDECL_PRIV adds another "__": so this is "____isnan"???! */
-/*__MATHDECL_PRIV (int,__isnan,, (_Mdouble_ __value), (__const__))*/
-
-#if defined __USE_MISC || defined __USE_XOPEN
+#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
/* Return nonzero if VALUE is not a number. */
+__BEGIN_NAMESPACE_C99
__MATHDECL_PRIV (int,isnan,, (_Mdouble_ __value), (__const__))
+__END_NAMESPACE_C99
+#endif
+#if defined __USE_MISC || defined __USE_XOPEN
# ifdef __DO_XSI_MATH__
/* Bessel functions. */
__MATHCALL (j0,, (_Mdouble_))