Warnings about GetVersionEx() deprecation silenced. Precompiled object
linked in.
# precompiled headers
CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
+CORE_LINK="$NGX_OBJS/ngx_pch.obj"
NGX_PCH="$NGX_OBJS/ngx_config.pch"
NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch"
NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"
ngx_memzero(&osvi, sizeof(OSVERSIONINFOEX));
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
+#ifdef _MSC_VER
+#pragma warning(disable:4996)
+#endif
+
osviex = GetVersionEx((OSVERSIONINFO *) &osvi);
if (osviex == 0) {
}
}
+#ifdef _MSC_VER
+#pragma warning(default:4996)
+#endif
+
/*
* Windows 3.1 Win32s 0xxxxx
*