diff options
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/time.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/include/cygwin/time.h b/winsup/cygwin/include/cygwin/time.h index 50ec87dac..c51f48388 100644 --- a/winsup/cygwin/include/cygwin/time.h +++ b/winsup/cygwin/include/cygwin/time.h @@ -25,11 +25,13 @@ time_t __cdecl timegm (struct tm *); #define TIMER_RELTIME 0 /* For compatibility with HP/UX, Solaris, others? */ #ifndef __STRICT_ANSI__ -# ifndef daylight -# define daylight _daylight -# endif +extern int daylight __asm__ ("__daylight"); + +#ifndef __timezonefunc__ extern long timezone __asm__ ("__timezone"); +#endif +#endif #endif /*__STRICT_ANSI__*/ |