X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2Ftimezone.h;fp=ghc%2Fincludes%2Ftimezone.h;h=0000000000000000000000000000000000000000;hb=5eb1c77c795f92ed0f4c8023847e9d4be1a4fd0d;hp=bedafdf350b8d199f76a8bc220cb33774146f44a;hpb=f7ecf7234c224489be8a5e63fced903b655d92ee;p=ghc-hetmet.git diff --git a/ghc/includes/timezone.h b/ghc/includes/timezone.h deleted file mode 100644 index bedafdf..0000000 --- a/ghc/includes/timezone.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef TIMEZONE_H -#define TIMEZONE_H - -#define _OSF_SOURCE - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - -#if HAVE_TM_ZONE -#define ZONE(x) (((struct tm *)x)->tm_zone) -#define SETZONE(x,z) (((struct tm *)x)->tm_zone = z) -#define GMTOFF(x) (((struct tm *)x)->tm_gmtoff) -#else -#if HAVE_TZNAME -extern time_t timezone, altzone; -extern char *tzname[2]; -#define ZONE(x) (((struct tm *)x)->tm_isdst ? tzname[1] : tzname[0]) -#define SETZONE(x,z) -#define GMTOFF(x) (((struct tm *)x)->tm_isdst ? altzone : timezone) -#endif -#endif - -#endif