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.
This commit is contained in:
Chris Sutcliffe 2011-05-23 20:04:12 +00:00
parent 7d375b5a65
commit 3d1b423011
2 changed files with 9 additions and 1 deletions

View File

@ -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> 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/stdlib.h (strtod): Remove possible static declaration to resolve * include/stdlib.h (strtod): Remove possible static declaration to resolve

View File

@ -216,6 +216,8 @@ __MINGW_IMPORT char* _tzname[2];
#endif /* not __MSVCRT__ */ #endif /* not __MSVCRT__ */
#endif /* Not __STRICT_ANSI__ */
#ifndef _NO_OLDNAMES #ifndef _NO_OLDNAMES
#ifdef __MSVCRT__ #ifdef __MSVCRT__
@ -240,7 +242,6 @@ __MINGW_IMPORT char *tzname[2];
#endif /* not __MSVCRT__ */ #endif /* not __MSVCRT__ */
#endif /* Not _NO_OLDNAMES */ #endif /* Not _NO_OLDNAMES */
#endif /* Not __STRICT_ANSI__ */
#ifndef _WTIME_DEFINED #ifndef _WTIME_DEFINED
/* wide function prototypes, also declared in wchar.h */ /* wide function prototypes, also declared in wchar.h */