diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-05-24 00:04:12 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-05-24 00:04:12 +0400 |
commit | 3d1b423011fd721c9700593d220a1dbcfba2b0a7 (patch) | |
tree | ef51dbad3f17d09e13d04e50c97a591a701ccff3 /winsup/mingw | |
parent | 7d375b5a65fb3ae0d8cdd2f38a693dd3aa1d3b47 (diff) |
2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/time.h (daytime, timezone, tzname): Rework guards to expose when
compiles with __STRICT_ANSI__.
Thanks to Felipe Contreras for the report.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/mingw/include/time.h | 3 |
2 files changed, 9 insertions, 1 deletions
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 <ir0nh34d@users.sourceforge.net> + + * 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 <ir0nh34d@users.sourceforge.net> * 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 */ |