summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGregg Lewis Smith <gsmith@apache.org>2016-05-25 16:27:59 +0000
committerGregg Lewis Smith <gsmith@apache.org>2016-05-25 16:27:59 +0000
commit6cd0e218bf085e0ec4b4d90b8e1b7494825fc95c (patch)
tree92d5171bc735ec4d793b5b7265ebc7600c7e8094 /support
parente488965b84b89af6a372796b3d3827a5dd4d4793 (diff)
downloadhttpd-6cd0e218bf085e0ec4b4d90b8e1b7494825fc95c.tar.gz
_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/trunk@1745516 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/win32/ApacheMonitor.c2
1 files changed, 2 insertions, 0 deletions
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,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))
{