auriemma    01/01/23 10:09:28

  Modified:    c/src/ICUBridge ICUBridgeCollationCompareFunctor.cpp
  Log:
  Added ifdef for other platforms which U_SIZEOF_WCHAR_T!=2.
  
  Revision  Changes    Path
  1.9       +8 -1      
xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctor.cpp
  
  Index: ICUBridgeCollationCompareFunctor.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctor.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ICUBridgeCollationCompareFunctor.cpp      2001/01/22 20:43:25     1.8
  +++ ICUBridgeCollationCompareFunctor.cpp      2001/01/23 18:09:25     1.9
  @@ -111,11 +111,18 @@
        else
        {
                assert(m_collator != 0);
  -
  +#if U_SIZEOF_WCHAR_T==2
                return m_collator->compare(
                                        (wchar_t*)theLHS,
                                        length(theLHS),
                                        (wchar_t*)theRHS,
                                        length(theRHS));
  +#else
  +             return m_collator->compare(
  +                                     theLHS,
  +                                     length(theLHS),
  +                                     theRHS,
  +                                     length(theRHS));
  +#endif
        }
   }
  
  
  

Reply via email to