# HG changeset patch # User Igor Sysoev # Date 1195137250 0 # Node ID 25e2db857b667cf1754818919d9f88721a44ff47 # Parent 02a22cd5282aff55fb19029776e470ab8af64ed8 enable getenv() and gmtime() in msvc8 diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -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 explicity before because * the warning 4201 is enabled in