Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_time.h @ 346:55e496a8ece3
nginx-0.0.3-2004-06-06-23:49:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 06 Jun 2004 19:49:18 +0000 |
parents | 0ab66f4b6c4d |
children | 0a03c921c81d |
comparison
equal
deleted
inserted
replaced
345:fade4edd61f8 | 346:55e496a8ece3 |
---|---|
36 | 36 |
37 | 37 |
38 #if (SOLARIS) | 38 #if (SOLARIS) |
39 #define HAVE_TIMEZONE 1 | 39 #define HAVE_TIMEZONE 1 |
40 | 40 |
41 #define ngx_timezone() (-((daylight) ? altzone : timezone) / 60) | 41 #define ngx_timezone() (- (daylight ? altzone : timezone) / 60) |
42 | 42 |
43 #elif defined __linux__ | 43 #elif defined __linux__ |
44 #define HAVE_TIMEZONE 1 | 44 #define HAVE_TIMEZONE 1 |
45 | 45 |
46 #define ngx_timezone() (- timezone / 60 + daylight * 60) | 46 #define ngx_timezone() (- timezone / 60 + daylight * 60) |