diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/time.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index be2cb45c4..83977d2d2 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -115,11 +115,7 @@ int _EXFUN(getdate_r, (const char *, struct tm *)); #endif /* HAVE_GETDATE */ /* defines for the opengroup specifications Derived from Issue 1 of the SVID. */ -#ifdef __CYGWIN__ -extern __IMPORT time_t _timezone; -#else extern __IMPORT long _timezone; -#endif extern __IMPORT int _daylight; extern __IMPORT char *_tzname[2]; @@ -135,7 +131,7 @@ extern __IMPORT char *_tzname[2]; #endif #ifdef timezonevar #ifndef timezone -#define timezone ((long int) _timezone) +#define timezone _timezone #endif #else char *_EXFUN(timezone, (void)); |