// file: rbbi_cache.cpp
#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_BREAK_ITERATION
+
#include "unicode/ubrk.h"
#include "unicode/rbbi.h"
}
U_NAMESPACE_END
+
+#endif // #if !UCONFIG_NO_BREAK_ITERATION
#include "unicode/utypes.h"
+#if !UCONFIG_NO_BREAK_ITERATION
+
#include "unicode/rbbi.h"
#include "unicode/uobject.h"
U_NAMESPACE_END
+#endif // #if !UCONFIG_NO_BREAK_ITERATION
+
#endif // RBBI_CACHE_H
/**
* \def UCONFIG_NO_CONVERSION
- * ICU will not completely build with this switch turned on.
+ * ICU will not completely build (compiling the tools fails) with this
+ * switch turned on.
* This switch turns off all converters.
*
* You may want to use this together with U_CHARSET_IS_UTF8 defined to 1
*/
#ifndef UCONFIG_NO_NORMALIZATION
# define UCONFIG_NO_NORMALIZATION 0
-#elif UCONFIG_NO_NORMALIZATION
+#endif
+
+#if UCONFIG_NO_NORMALIZATION
/* common library */
/* ICU 50 CJK dictionary BreakIterator uses normalization */
# define UCONFIG_NO_BREAK_ITERATION 1
#include "unicode/locid.h"
#include "unicode/udat.h"
#include "unicode/udatpg.h"
+#include "unicode/unistr.h"
U_NAMESPACE_BEGIN
#include "unicode/decimfmt.h"
#include "unicode/ucurr.h"
#include "unicode/smpdtfmt.h"
+#include "unicode/strenum.h"
#include "unicode/dtfmtsym.h"
#include "unicode/brkiter.h"
#include "unicode/coll.h"
// Emoji Test. Verify that the sequences defined in the Unicode data file emoji-test.txt
// remain undevided by ICU char, word and line break.
void RBBITest::TestEmoji() {
+#if !UCONFIG_NO_REGULAR_EXPRESSIONS
UErrorCode status = U_ZERO_ERROR;
CharString testFileName;
}
}
}
+#endif
}
}
}
-#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
+#endif // #if !UCONFIG_NO_BREAK_ITERATION