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:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-05-24 00:04:12 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-05-24 00:04:12 +0400
commit3d1b423011fd721c9700593d220a1dbcfba2b0a7 (patch)
treeef51dbad3f17d09e13d04e50c97a591a701ccff3 /winsup/mingw
parent7d375b5a65fb3ae0d8cdd2f38a693dd3aa1d3b47 (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/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 */