aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/stdlib.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-20 18:06:14 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-20 18:06:14 +0000
commitbd5f034706a48b4e1c920df462621325aede1392 (patch)
treeeed5d6de1ff5831449604e389a6f76140d6ffdc8 /newlib/libc/include/stdlib.h
parent5698171a3f3c7d8dd535466fd8f54e9deb8f170f (diff)
downloadnewlib-bd5f034706a48b4e1c920df462621325aede1392.zip
newlib-bd5f034706a48b4e1c920df462621325aede1392.tar.gz
newlib-bd5f034706a48b4e1c920df462621325aede1392.tar.bz2
2009-04-20 Jeff johnston <jjohnstn@redhat.com>
* libc/include/math.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_MATH. * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_STDLIB.
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r--newlib/libc/include/stdlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 8f64f09..5b44bb6 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -199,11 +199,11 @@ int _EXFUN(_system_r,(struct _reent *, const char *));
_VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *));
-/* On platforms where long double is as wide as double. */
-#ifdef _LDBL_EQ_DBL
+/* On platforms where long double stdlib functions are supported. */
+#ifdef _HAVE_LDBL_STDLIB
extern long double strtold (const char *, char **);
extern long double wcstold (const wchar_t *, wchar_t **);
-#endif /* LDBL_EQ_DBL */
+#endif /* _HAVE_LDBL_STDLIB */
_END_STD_C