diff options
Diffstat (limited to 'support/win32/ApacheMonitor.c')
-rw-r--r-- | support/win32/ApacheMonitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index c6021f3b..26b54a00 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -1586,8 +1586,10 @@ 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)) { |