From 3d1b423011fd721c9700593d220a1dbcfba2b0a7 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Mon, 23 May 2011 20:04:12 +0000 Subject: 2011-05-23 Chris Sutcliffe * include/time.h (daytime, timezone, tzname): Rework guards to expose when compiles with __STRICT_ANSI__. Thanks to Felipe Contreras for the report. --- winsup/mingw/ChangeLog | 7 +++++++ winsup/mingw/include/time.h | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'winsup/mingw') diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 3df7dc2c5..7858b2fe5 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,10 @@ +2011-05-23 Chris Sutcliffe + + * include/time.h (daytime, timezone, tzname): Rework guards to expose when + compiles with __STRICT_ANSI__. + + Thanks to Felipe Contreras for the report. + 2011-05-22 Chris Sutcliffe * include/stdlib.h (strtod): Remove possible static declaration to resolve diff --git a/winsup/mingw/include/time.h b/winsup/mingw/include/time.h index a3ca1be2d..232f25668 100644 --- a/winsup/mingw/include/time.h +++ b/winsup/mingw/include/time.h @@ -216,6 +216,8 @@ __MINGW_IMPORT char* _tzname[2]; #endif /* not __MSVCRT__ */ +#endif /* Not __STRICT_ANSI__ */ + #ifndef _NO_OLDNAMES #ifdef __MSVCRT__ @@ -240,7 +242,6 @@ __MINGW_IMPORT char *tzname[2]; #endif /* not __MSVCRT__ */ #endif /* Not _NO_OLDNAMES */ -#endif /* Not __STRICT_ANSI__ */ #ifndef _WTIME_DEFINED /* wide function prototypes, also declared in wchar.h */ -- cgit v1.2.3