summaryrefslogtreecommitdiff
path: root/i18nutil/source/utility/unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18nutil/source/utility/unicode.cxx')
-rw-r--r--i18nutil/source/utility/unicode.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 83dd81b406cf..f04faa5846cf 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -31,6 +31,11 @@
#include <i18nutil/unicode.hxx>
#include "unicode_data.h"
+// Workaround for glibc braindamage:
+// glibc 2.4's langinfo.h does "#define CURRENCY_SYMBOL __CURRENCY_SYMBOL"
+// which (obviously) breaks UnicodeType::CURRENCY_SYMBOL
+#undef CURRENCY_SYMBOL
+
using namespace ::com::sun::star::i18n;
static ScriptTypeList defaultTypeList[] = {