From: Igor Sysoev Date: Thu, 15 Nov 2007 14:34:10 +0000 (+0000) Subject: enable getenv() and gmtime() in msvc8 X-Git-Tag: release-0.6.17~1 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=a8c1332720445becfbe664ee13d7679d99dba6d4;p=nginx.git enable getenv() and gmtime() in msvc8 --- 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 explicity before because * the warning 4201 is enabled in