[mapguide-commits] r5154 - trunk/MgDev/Web/src/HttpHandler
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Sep 19 23:33:17 EDT 2010
Author: liuar
Date: 2010-09-20 03:33:17 +0000 (Mon, 20 Sep 2010)
New Revision: 5154
Modified:
trunk/MgDev/Web/src/HttpHandler/HttpRequest.cpp
Log:
Fix Linix build error
!HttpRequest.cpp:215: error: 'wcsicmp' was not declared in this scope
Modified: trunk/MgDev/Web/src/HttpHandler/HttpRequest.cpp
===================================================================
--- trunk/MgDev/Web/src/HttpHandler/HttpRequest.cpp 2010-09-19 06:55:12 UTC (rev 5153)
+++ trunk/MgDev/Web/src/HttpHandler/HttpRequest.cpp 2010-09-20 03:33:17 UTC (rev 5154)
@@ -212,7 +212,7 @@
if(sRequestValue.length() != 0)
{
STRING sServiceValue = m_requestParam->GetParameterValue(MgHttpResourceStrings::reqWmsService);
- if(sServiceValue.length() != 0 && (wcsicmp(L"WFS",sServiceValue.c_str()) == 0 || wcsicmp(L"WMS",sServiceValue.c_str()) == 0))
+ if(sServiceValue.length() != 0 && (L"WFS" == MgUtil::ToUpper(sServiceValue) || L"WMS" == MgUtil::ToUpper(sServiceValue)))
{
sParamValue = sServiceValue;
}
More information about the mapguide-commits
mailing list