From d5b32c8fad50f7592da6c02de3daa6879e5145d1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 5 Mar 2014 12:49:40 +0000 Subject: [PATCH] * libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition. (__TM_ZONE): Ditto. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/time.h | 10 ---------- 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,3 +1,8 @@ +2014-03-05 Corinna Vinschen + + * libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition. + (__TM_ZONE): Ditto. + 2014-03-05 Corinna Vinschen * libc/include/time.h (__TM_GMTOFF): Define on Cygwin. 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;