httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r652599 - /httpd/httpd/trunk/support/win32/ApacheMonitor.c
Date Thu, 01 May 2008 18:13:44 GMT
Author: wrowe
Date: Thu May  1 11:13:44 2008
New Revision: 652599

URL: http://svn.apache.org/viewvc?rev=652599&view=rev
Log:
For legacy VC6, there's no __CRTDECL or _tstoi yet, but the
former is only interesting for ".NET" builds, and the later
is identical to _ttoi (still supported in VC2005, at least).

Modified:
    httpd/httpd/trunk/support/win32/ApacheMonitor.c

Modified: httpd/httpd/trunk/support/win32/ApacheMonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/win32/ApacheMonitor.c?rev=652599&r1=652598&r2=652599&view=diff
==============================================================================
--- httpd/httpd/trunk/support/win32/ApacheMonitor.c (original)
+++ httpd/httpd/trunk/support/win32/ApacheMonitor.c Thu May  1 11:13:44 2008
@@ -1814,7 +1814,7 @@
 
 #ifndef UNICODE
 /* Borrowed from CRT internal.h for _MBCS argc/argv parsing in this GUI app */
-int  __CRTDECL _setargv(void);
+int  __cdecl _setargv(void);
 #endif
 
 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
@@ -1872,7 +1872,7 @@
     }
     else if ((__argc == 4) && (g_dwOSVersion >= OS_VERSION_WIN2K))
     {
-        dwControl = _tstoi(__targv[1]);
+        dwControl = _ttoi(__targv[1]);
         if ((dwControl != SERVICE_CONTROL_CONTINUE) &&
             (dwControl != SERVICE_APACHE_RESTART) &&
             (dwControl != SERVICE_CONTROL_STOP))



Mime
View raw message