11 # include <sys/time.h>
18 #define ZONE(x) (((struct tm *)x)->tm_zone)
19 #define SETZONE(x,z) (((struct tm *)x)->tm_zone = z)
20 #define GMTOFF(x) (((struct tm *)x)->tm_gmtoff)
23 extern time_t timezone, altzone;
24 extern char *tmzone[2];
25 #define ZONE(x) (((struct tm *)x)->tm_isdst ? tmzone[1] : tmzone[0])
27 #define GMTOFF(x) (((struct tm *)x)->tm_isdst ? altzone : timezone)