summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-02 21:38:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-02 21:38:23 +0100
commit248fa06e017b30cd61e4900f1ec22805b5a5426c (patch)
tree7cb5ada3bbd7147d512ecec8ef644848ff76b138 /i18nlangtag
parenteaddcb8a517d6f39ca8036e9e021e40f88c7d98c (diff)
Work around -Werror,-Wkeyword-macro
...where liblangtag/lt-macros.h does #undef inline because LT_HAVE_INLINE is not defined---liblangtag has a config.h (that would define it), but for whatever reason does not include it... Change-Id: I6a6f0a3522b7aef12573af7d7c4c00bb0f1368eb
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/languagetag/languagetag.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index e3b6c9ec8858..54d8bf67c3aa 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -24,6 +24,7 @@
//#define erDEBUG
#if defined(ENABLE_LIBLANGTAG)
+#define LT_HAVE_INLINE
#include <liblangtag/langtag.h>
#else
/* Replacement code for LGPL phobic and Android systems.