diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index c6021f3b19..26b54a00db 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -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))