diff --git a/icu4c/source/tools/ctestfw/unicode/uperf.h b/icu4c/source/tools/ctestfw/unicode/uperf.h index 8442af2f67..6b6f33018c 100644 --- a/icu4c/source/tools/ctestfw/unicode/uperf.h +++ b/icu4c/source/tools/ctestfw/unicode/uperf.h @@ -16,6 +16,8 @@ #include "unicode/utimer.h" #include "ucbuf.h" +#if !UCONFIG_NO_CONVERSION + U_NAMESPACE_USE // Use the TESTCASE macro in subclasses of IntlTest. Define the // runIndexedTest method in this fashion: @@ -157,4 +159,5 @@ public: }; #endif +#endif diff --git a/icu4c/source/tools/ctestfw/uperf.cpp b/icu4c/source/tools/ctestfw/uperf.cpp index 8d44697483..97269f580b 100644 --- a/icu4c/source/tools/ctestfw/uperf.cpp +++ b/icu4c/source/tools/ctestfw/uperf.cpp @@ -10,6 +10,7 @@ #include #include +#if !UCONFIG_NO_CONVERSION static const char delim = '/'; static int32_t execCount = 0; UPerfTest* UPerfTest::gTest = NULL; @@ -466,4 +467,4 @@ UPerfTest::~UPerfTest(){ ucbuf_close(ucharBuf); } - +#endif