Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/mingw/ChangeLog7
-rw-r--r--winsup/mingw/include/time.h3
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 */