Anonymous User
August 02, 2012 08:54AM
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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4779 - trunk/src/os/win32

Anonymous User 989 August 02, 2012 08:54AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 196
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready