You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/11/23 17:25:35 UTC
cvs commit: xml-xerces/c/src/util/Transcoders/ICU ICUTransService.cpp
tng 01/11/23 08:25:35
Modified: c/src/util/Transcoders/ICU ICUTransService.cpp
Log:
[Bug 4873] ICU 2.0 breaks Xerces 1.5.2 build.
Revision Changes Path
1.28 +9 -1 xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.cpp
Index: ICUTransService.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ICUTransService.cpp 2001/02/21 15:26:57 1.27
+++ ICUTransService.cpp 2001/11/23 16:25:35 1.28
@@ -55,7 +55,7 @@
*/
/*
- * $Id: ICUTransService.cpp,v 1.27 2001/02/21 15:26:57 tng Exp $
+ * $Id: ICUTransService.cpp,v 1.28 2001/11/23 16:25:35 tng Exp $
*/
@@ -535,7 +535,11 @@
//
UErrorCode err = U_ZERO_ERROR;
UConverterFromUCallback oldCB = NULL;
+ #if (U_ICU_VERSION_MAJOR_NUM < 2)
void* orgContent;
+ #else
+ const void* orgContent;
+ #endif
ucnv_setFromUCallBack
(
fConverter
@@ -622,7 +626,11 @@
//
UErrorCode err = U_ZERO_ERROR;
UConverterFromUCallback oldCB = NULL;
+ #if (U_ICU_VERSION_MAJOR_NUM < 2)
void* orgContent;
+ #else
+ const void* orgContent;
+ #endif
ucnv_setFromUCallBack
(
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org