]> git.kaiwu.me - nginx.git/commitdiff
enable getenv() and gmtime() in msvc8
authorIgor Sysoev <igor@sysoev.ru>
Thu, 15 Nov 2007 14:34:10 +0000 (14:34 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 15 Nov 2007 14:34:10 +0000 (14:34 +0000)
src/os/win32/ngx_win32_config.h

index 9dc8ca8a436fc00b7ba71ff1848794d956c20010..07f27dfd8ff311994792dc0f077b8c47bd0cf475 100644 (file)
@@ -15,6 +15,9 @@
 #define STRICT
 #define WIN32_LEAN_AND_MEAN
 
+/* enable getenv() and gmtime() in msvc8 */
+#define _CRT_SECURE_NO_WARNINGS
+
 /*
  * we need to include <windows.h> explicity before <winsock2.h> because
  * the warning 4201 is enabled in <windows.h>