Commit c24bcbb0 authored by Gregg Lewis Smith's avatar Gregg Lewis Smith
Browse files

backport r1745516

_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
parent a6a4da77
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))