Mercurial > hg > nginx
comparison src/os/win32/ngx_win32_config.h @ 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 | 67653855682e |
children | eaf95350d75c |
comparison
equal
deleted
inserted
replaced
4777:6e37004865fb | 4778:a48031f7a69c |
---|---|
16 #define STRICT | 16 #define STRICT |
17 #define WIN32_LEAN_AND_MEAN | 17 #define WIN32_LEAN_AND_MEAN |
18 | 18 |
19 /* enable getenv() and gmtime() in msvc8 */ | 19 /* enable getenv() and gmtime() in msvc8 */ |
20 #define _CRT_SECURE_NO_WARNINGS | 20 #define _CRT_SECURE_NO_WARNINGS |
21 #define _CRT_SECURE_NO_DEPRECATE | |
21 | 22 |
22 /* | 23 /* |
23 * we need to include <windows.h> explicitly before <winsock2.h> because | 24 * we need to include <windows.h> explicitly before <winsock2.h> because |
24 * the warning 4201 is enabled in <windows.h> | 25 * the warning 4201 is enabled in <windows.h> |
25 */ | 26 */ |