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
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-03-05 16:49:40 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-03-05 16:49:40 +0400
commitd5b32c8fad50f7592da6c02de3daa6879e5145d1 (patch)
tree22e644975f7c54f7c133905d00589934bf81573e /newlib
parent27afe3a4abea797790659f7ce2302a6105f9d475 (diff)
* libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.
(__TM_ZONE): Ditto.
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;