[Libreoffice-commits] core.git: i18nlangtag/source
Stephan Bergmann
sbergman at redhat.com
Tue Dec 2 12:41:08 PST 2014
i18nlangtag/source/languagetag/languagetag.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 248fa06e017b30cd61e4900f1ec22805b5a5426c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Dec 2 21:38:23 2014 +0100
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
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index e3b6c9e..54d8bf6 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.
More information about the Libreoffice-commits
mailing list