aboutsummaryrefslogtreecommitdiff
path: root/stdlib/strtod.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-26 22:09:13 +0000
committerRoland McGrath <roland@gnu.org>1996-05-26 22:09:13 +0000
commit71a40c74716aa19ddb181391c0583f55bb491c2f (patch)
treef49023812c478b76da868493c280d437614ee43a /stdlib/strtod.c
parent59dd864187ee61b6f0bfd7abc85e2fea4b479cb7 (diff)
downloadglibc-71a40c74716aa19ddb181391c0583f55bb491c2f.zip
glibc-71a40c74716aa19ddb181391c0583f55bb491c2f.tar.gz
glibc-71a40c74716aa19ddb181391c0583f55bb491c2f.tar.bz2
* time/Makefile (tzcompile): Add missing backslash.
* wctype/wctype.h (__need_wint_t): Define this and include stddef.h. [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3 stddef.h doesn't define it. * wcsmbs/wchar.h: Likewise. * stdlib/strtod.c: Likewise. * wcsmbs/wcstok.c: Fix argument name typo.
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r--stdlib/strtod.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index 03a37bf..f32ffc6 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -364,6 +364,11 @@ INTERNAL (STRTOF) (nptr, endptr, group)
/* Contains the last character read. */
CHAR_TYPE c;
+/* We should get wint_t from <stddef.h>, but not all GCC versions define it
+ there. So define it ourselves if it remains undefined. */
+#ifndef _WINT_T
+ typedef unsigned int wint_t;
+#endif
/* The radix character of the current locale. */
wint_t decimal;
/* The thousands character of the current locale. */