diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-09-24 18:37:14 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-09-24 18:37:14 +0000 |
| commit | ae5736bfa41514eb7a9631bea4f5ae35aeebc9b4 (patch) | |
| tree | 5550cd5be2dd81387a611428168d9ff037544abc /src/os/win32/ngx_win32_config.h | |
| parent | ce750db2339d2971202dbc536d4a36b6f5acc86c (diff) | |
| download | nginx-ae5736bfa41514eb7a9631bea4f5ae35aeebc9b4.tar.gz nginx-ae5736bfa41514eb7a9631bea4f5ae35aeebc9b4.tar.bz2 | |
Merge of r4779, r4840, r4843, r4844: win32 changes.
*) 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
*) Configure: provide inflate() when building zlib on win32.
*) Helper target "win32" to run configure for win32 builds.
*) Updated zlib used for win32 builds.
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
| -rw-r--r-- | src/os/win32/ngx_win32_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <windows.h> explicitly before <winsock2.h> because |
