summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/time.h10
2 files changed, 5 insertions, 10 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index cec4ec598..26d1668ca 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2014-03-05 Corinna Vinschen <vinschen@redhat.com>
+ * libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.
+ (__TM_ZONE): Ditto.
+
+2014-03-05 Corinna Vinschen <vinschen@redhat.com>
+
* libc/include/time.h (__TM_GMTOFF): Define on Cygwin.
(__TM_ZONE): Ditto.
(struct tm): Add __TM_GMTOFF and __TM_ZONE members if they are defined.
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index dcae828f5..d7b6612db 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -28,16 +28,6 @@
_BEGIN_STD_C
-#ifdef __CYGWIN__
-# ifdef __BSD_VISIBLE
-# define __TM_GMTOFF tm_gmtoff
-# define __TM_ZONE tm_zone
-# else
-# define __TM_GMTOFF __tm_gmtoff
-# define __TM_ZONE __tm_zone
-# endif
-#endif
-
struct tm
{
int tm_sec;