* include/cygwin/config.h (__TM_GMTOFF): Define.

(__TM_ZONE): Define.
This commit is contained in:
Corinna Vinschen 2014-03-05 12:50:29 +00:00
parent d5b32c8fad
commit 512ecab4a8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-03-05 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/config.h (__TM_GMTOFF): Define.
(__TM_ZONE): Define.
2014-03-05 Corinna Vinschen <corinna@vinschen.de>
* localtime.cc: Define TM_GMTOFF and TM_ZONE based on __TM_GMTOFF and

View File

@ -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