From 4ff9a9958653666fb0b0ff333cac7f8d1b293117 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Sat, 11 Aug 2012 13:29:50 +0200 Subject: langtag: use ENABLE_LIBLANGTAG in unit test --- i18npool/qa/cppunit/test_languagetag.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'i18npool/qa') diff --git a/i18npool/qa/cppunit/test_languagetag.cxx b/i18npool/qa/cppunit/test_languagetag.cxx index c8a5f7c522b5..4569e81cf159 100644 --- a/i18npool/qa/cppunit/test_languagetag.cxx +++ b/i18npool/qa/cppunit/test_languagetag.cxx @@ -26,7 +26,11 @@ using namespace com::sun::star; // To test the replacement code add '&& 0' and also in // source/languagetag/languagetag.cxx -#define USE_LIBLANGTAG (!defined(ANDROID) && !defined(IOS)) +#if defined(ENABLE_LIBLANGTAG) +#define USE_LIBLANGTAG 1 +#else +#define USE_LIBLANGTAG 0 +#endif namespace { -- cgit