From c722e8a5bf85d986acb93b1e3cdfebd42efd9191 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 2 Aug 2012 12:53:07 +0000 Subject: [PATCH] Win32: fixed build with Visual Studio 2005 Express. It is available via winetricks which makes it still usable, and has an old crtdefs.h which uses _CRT_SECURE_NO_DEPRECATE instead of _CRT_SECURE_NO_WARNINGS to suppress warnings. Reported by HAYASHI Kentaro, http://mailman.nginx.org/pipermail/nginx-devel/2012-August/002542.html --- src/os/win32/ngx_win32_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index 112fb412a..eb3a95a3d 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -18,6 +18,7 @@ /* enable getenv() and gmtime() in msvc8 */ #define _CRT_SECURE_NO_WARNINGS +#define _CRT_SECURE_NO_DEPRECATE /* * we need to include explicitly before because