Open GoogleCodeExporter opened 8 years ago
https://bugs.webkit.org/show_bug.cgi?id=36381
diff --git a/WebCore/platform/text/TextBreakIterator.h
b/WebCore/platform/text/TextBreakIterator.h
index 17cf5f0..7ead196 100644
--- a/WebCore/platform/text/TextBreakIterator.h
+++ b/WebCore/platform/text/TextBreakIterator.h
@@ -26,7 +26,12 @@
namespace WebCore {
+#if (U_ICU_VERSION_MAJOR_NUM == 4) && (U_ICU_VERSION_MINOR_NUM >= 4)
+ typedef struct UBreakIterator TextBreakIterator;
+#else
class TextBreakIterator;
+#endif
+
// Note: The returned iterator is good only until you get another iterator.
Original comment by javed...@gmail.com
on 10 May 2013 at 11:35
Original issue reported on code.google.com by
arturgaj...@gmail.com
on 13 Oct 2012 at 11:40