changeset 1641:25e2db857b66

enable getenv() and gmtime() in msvc8
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 14:34:10 +0000
parents 02a22cd5282a
children d8fcca555542
files src/os/win32/ngx_win32_config.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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>