Author: rleigh
Date: Wed Jun 14 21:15:57 2017
New Revision: 1798760
URL: http://svn.apache.org/viewvc?rev=1798760&view=rev
Log:
xercesc: RangeToken: Conditionally define variable if ICU support is enabled
Modified:
xerces/c/trunk/src/xercesc/util/regx/RangeToken.cpp
Modified: xerces/c/trunk/src/xercesc/util/regx/RangeToken.cpp
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/regx/RangeToken.cpp?rev=1798760&r1=1798759&r2=1798760&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/regx/RangeToken.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/regx/RangeToken.cpp Wed Jun 14 21:15:57 2017
@@ -97,6 +97,7 @@ struct ExceptionCharsStruct
};
+#if !(XERCES_USE_TRANSCODER_ICU && ((U_ICU_VERSION_MAJOR_NUM > 2) ||
(U_ICU_VERSION_MAJOR_NUM == 2 && U_ICU_VERSION_MINOR_NUM >=4)))
// This is an array of character mappings that we will
// add to ranges for case-insensitive matching.
static const ExceptionCharsStruct s_exceptions[] =
@@ -148,6 +149,7 @@ static const ExceptionCharsStruct s_ex
{ 0x1e60, 0x1e9b },
{ 0x1e61, 0x1e9b }
};
+#endif
// ---------------------------------------------------------------------------
// RangeToken: Getter methods
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]