]> granicus.if.org Git - icu/commitdiff
ICU-12139 Fix some uconfig header test failure in rbbimonkey
authorMichael Ow <mow@svn.icu-project.org>
Thu, 3 Mar 2016 21:28:09 +0000 (21:28 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Thu, 3 Mar 2016 21:28:09 +0000 (21:28 +0000)
X-SVN-Rev: 38476

icu4c/source/test/intltest/rbbimonkeytest.cpp
icu4c/source/test/intltest/rbbimonkeytest.h

index 173d51e63b78d986196ca27032f2e25498c5ad49..1415f2988c342fe669450c1a87b66720fabed895 100644 (file)
@@ -6,6 +6,8 @@
 
 #include "unicode/utypes.h"
 
+#if !UCONFIG_NO_BREAK_ITERATION
+
 #include "rbbimonkeytest.h"
 #include "unicode/utypes.h"
 #include "unicode/brkiter.h"
@@ -978,3 +980,4 @@ UBool RBBIMonkeyTest::getBoolParam(UnicodeString name, UnicodeString &params, UB
     return FALSE;
 }
 
+#endif /* !UCONFIG_NO_BREAK_ITERATION */
index 484ce05ad6e49e4fe8128ceff2d2a72fdf065877..a3d4b92774a65de45d9189267c9caade1707c6bd 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "unicode/utypes.h"
 
+#if !UCONFIG_NO_BREAK_ITERATION
+
 #include "intltest.h"
 
 #include "unicode/rbbi.h"
@@ -205,4 +207,6 @@ class RBBIMonkeyImpl: public UObject {
 
 };
 
+#endif /* !UCONFIG_NO_BREAK_ITERATION */
+
 #endif  //  RBBIMONKEYTEST_H