aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_win32_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-15 14:34:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-15 14:34:10 +0000
commita8c1332720445becfbe664ee13d7679d99dba6d4 (patch)
treed85c87e703cf2f90f78dbb7e29b67644de7dd0f6 /src/os/win32/ngx_win32_config.h
parent1d04b14c09ee678a184c0acbd91b532110c02dd9 (diff)
downloadnginx-a8c1332720445becfbe664ee13d7679d99dba6d4.tar.gz
nginx-a8c1332720445becfbe664ee13d7679d99dba6d4.zip
enable getenv() and gmtime() in msvc8
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
-rw-r--r--src/os/win32/ngx_win32_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index 9dc8ca8a4..07f27dfd8 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -15,6 +15,9 @@
#define STRICT
#define WIN32_LEAN_AND_MEAN
+/* enable getenv() and gmtime() in msvc8 */
+#define _CRT_SECURE_NO_WARNINGS
+
/*
* we need to include <windows.h> explicity before <winsock2.h> because
* the warning 4201 is enabled in <windows.h>