diff options
author | Eike Rathke <erack@redhat.com> | 2012-08-11 13:29:50 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-08-11 13:41:27 +0200 |
commit | 4ff9a9958653666fb0b0ff333cac7f8d1b293117 (patch) | |
tree | bc92506a2f19803805d962fc99fa5f19d238122d /i18npool/qa/cppunit | |
parent | d724f64703eaa0b0595fc4983e42875f2b439e88 (diff) |
langtag: use ENABLE_LIBLANGTAG in unit test
Diffstat (limited to 'i18npool/qa/cppunit')
-rw-r--r-- | i18npool/qa/cppunit/test_languagetag.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |