aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r--src/os/unix/ngx_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index 0b44c5ad4..dbb7a0a54 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -38,7 +38,7 @@ typedef struct tm ngx_tm_t;
#if (SOLARIS)
#define HAVE_TIMEZONE 1
-#define ngx_timezone() (-((daylight) ? altzone : timezone) / 60)
+#define ngx_timezone() (- (daylight ? altzone : timezone) / 60)
#elif defined __linux__
#define HAVE_TIMEZONE 1