Mercurial > hg > nginx
changeset 4778:a48031f7a69c
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
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 02 Aug 2012 12:53:07 +0000 |
parents | 6e37004865fb |
children | 117f3284e0de |
files | src/os/win32/ngx_win32_config.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/win32/ngx_win32_config.h Wed Aug 01 14:37:08 2012 +0000 +++ b/src/os/win32/ngx_win32_config.h Thu Aug 02 12:53:07 2012 +0000 @@ -18,6 +18,7 @@ /* enable getenv() and gmtime() in msvc8 */ #define _CRT_SECURE_NO_WARNINGS +#define _CRT_SECURE_NO_DEPRECATE /* * we need to include <windows.h> explicitly before <winsock2.h> because