diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 69d15d6fd..0c958fcc6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-03-05 Corinna Vinschen + + * include/cygwin/config.h (__TM_GMTOFF): Define. + (__TM_ZONE): Define. + 2014-03-05 Corinna Vinschen * localtime.cc: Define TM_GMTOFF and TM_ZONE based on __TM_GMTOFF and diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h index 68b469afb..d3c68a502 100644 --- a/winsup/cygwin/include/cygwin/config.h +++ b/winsup/cygwin/include/cygwin/config.h @@ -79,6 +79,9 @@ extern char *_tlsbase __asm__ ("%fs:4"); #define _WANT_C99_TIME_FORMATS 1 #define _GLIBC_EXTENSION 1 #define _STDIO_BSD_SEMANTICS 1 +#define __TM_GMTOFF tm_gmtoff +#define __TM_ZONE tm_zone + #if defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB) #define __EXPORT __declspec(dllexport) #define __IMPORT