]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/letest/cletest.c
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / test / letest / cletest.c
index ed426d821e77a349bdc917cac732168feb1197f8..209337e05c1988231beb831ab1902d657c4445e4 100644 (file)
@@ -1,12 +1,14 @@
 /*
  *******************************************************************************
  *
- *   Copyright (C) 1999-2008, International Business Machines
+ *   Copyright (C) 1999-2014, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *
  *******************************************************************************
  */
 
+#ifndef USING_ICULEHB /* C API not available under HB */
+
 #include "unicode/utypes.h"
 #include "unicode/ubidi.h"
 #include "unicode/uscript.h"
@@ -511,6 +513,7 @@ static void U_CALLCONV DataDrivenTest(void)
  */
 static void U_CALLCONV GlyphToCharTest(void)
 {
+#if !UCONFIG_NO_BREAK_ITERATION
     LEErrorCode status = LE_NO_ERROR;
     le_font *font;
     pl_fontRuns *fontRuns;
@@ -728,6 +731,7 @@ close_font:
 
 finish:
     return;
+#endif
 }
 
 U_CFUNC void addCTests(TestNode **root)
@@ -740,3 +744,4 @@ U_CFUNC void addCTests(TestNode **root)
 }
 
 
+#endif