aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_time.c')
-rw-r--r--src/os/unix/ngx_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_time.c b/src/os/unix/ngx_time.c
index c4389503a..20ec4644b 100644
--- a/src/os/unix/ngx_time.c
+++ b/src/os/unix/ngx_time.c
@@ -10,7 +10,7 @@
void ngx_localtime(ngx_tm_t *tm)
{
-#if (HAVE_LOCALTIME_R)
+#if (NGX_HAVE_LOCALTIME_R)
time_t now;
now = ngx_time();