Skip to content
Snippets Groups Projects
Commit 7b743dd2 authored by Alberto Massari's avatar Alberto Massari
Browse files

Support old ICU 2.1

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@478105 13f79535-47bb-0310-9956-ffa450edef68
parent d8c8f6bc
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,19 @@ extern "C" const uint8_t U_IMPORT icudata_dat[]; ...@@ -47,6 +47,19 @@ extern "C" const uint8_t U_IMPORT icudata_dat[];
#endif #endif
#endif #endif
#if !defined(U16_NEXT_UNSAFE) && defined(UTF16_NEXT_CHAR_UNSAFE)
#define U16_NEXT_UNSAFE UTF16_NEXT_CHAR_UNSAFE
#endif
#if !defined(U16_APPEND_UNSAFE) && defined(UTF16_APPEND_CHAR_UNSAFE)
#define U16_APPEND_UNSAFE UTF16_APPEND_CHAR_UNSAFE
#endif
#if !defined(U_IS_BMP) && defined(UTF16_CHAR_LENGTH)
#define U_IS_BMP(c) (UTF16_CHAR_LENGTH(c)==1)
#endif
XERCES_CPP_NAMESPACE_BEGIN XERCES_CPP_NAMESPACE_BEGIN
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment