dbertoni 2003/01/22 18:30:08
Modified: c/src/ICUBridge ICUBridgeCollationCompareFunctorImpl.cpp
Log:
New ifdef for 64-bit AIX 5.1.
Revision Changes Path
1.6 +2 -2
xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctorImpl.cpp
Index: ICUBridgeCollationCompareFunctorImpl.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctorImpl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ICUBridgeCollationCompareFunctorImpl.cpp 7 Dec 2002 01:48:36 -0000
1.5
+++ ICUBridgeCollationCompareFunctorImpl.cpp 23 Jan 2003 02:30:08 -0000
1.6
@@ -177,7 +177,7 @@
const XalanDOMChar* theLHS,
const XalanDOMChar* theRHS) const
{
-#if defined(XALAN_USE_WCHAR_CAST_HACK)
+#if defined(XALAN_USE_WCHAR_CAST_HACK) && defined(U_WCHAR_IS_UTF16)
return theCollator.compare(
(const wchar_t*)theLHS,
length(theLHS),
@@ -368,7 +368,7 @@
caseOrderConvert(theCaseOrder),
theStatus);
-#if defined(XALAN_USE_WCHAR_CAST_HACK)
+#if defined(XALAN_USE_WCHAR_CAST_HACK) && defined(U_WCHAR_IS_UTF16)
return theCollator.compare(
(const wchar_t*)theLHS,
length(theLHS),
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]