From 71a40c74716aa19ddb181391c0583f55bb491c2f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 26 May 1996 22:09:13 +0000 Subject: * 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. --- stdlib/strtod.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stdlib/strtod.c') diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 03a37bfb70..f32ffc6162 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 , 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. */ -- cgit v1.2.3