[nginx] svn commit: r4779 - trunk/src/os/win32
mdounin at mdounin.ru
mdounin at mdounin.ru
Thu Aug 2 12:53:08 UTC 2012
Author: mdounin
Date: 2012-08-02 12:53:07 +0000 (Thu, 02 Aug 2012)
New Revision: 4779
URL: http://trac.nginx.org/nginx/changeset/4779/nginx
Log:
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
Modified:
trunk/src/os/win32/ngx_win32_config.h
Modified: trunk/src/os/win32/ngx_win32_config.h
===================================================================
--- trunk/src/os/win32/ngx_win32_config.h 2012-08-01 14:37:08 UTC (rev 4778)
+++ trunk/src/os/win32/ngx_win32_config.h 2012-08-02 12:53:07 UTC (rev 4779)
@@ -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
More information about the nginx-devel
mailing list