1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

_setargv will not compile on _MSC_VER > 1700 MS documentation's example simply does not work. Disabe for now, Apachemonitor still works.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745517 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gregg Lewis Smith
2016-05-25 16:29:59 +00:00
parent 9205125fd8
commit 752b1e211e

View File

@@ -1586,7 +1586,9 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
#ifdef UNICODE
__wargv = CommandLineToArgvW(GetCommandLineW(), &__argc);
#else
#if defined(_MSC_VER) && _MSC_VER < 1800
_setargv();
#endif
#endif
if ((__argc == 2) && (_tcscmp(__targv[1], _T("--kill")) == 0))