diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-06 18:55:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-06 18:56:09 +0200 |
commit | 7b58bf4c0bd6614e8ebf8d4fee880a235834323c (patch) | |
tree | 6f10335a1ccce5f298de2cd19282ac26efaab485 /i18npool/source | |
parent | 0d26b10ab6776e741d5744079e5ceb2226ffd1c0 (diff) |
Try to unbreak the Android build
Change-Id: I8fd77369cab201cd8ba2681398c23e81b186418f
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/languagetag/simple-langtag.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/i18npool/source/languagetag/simple-langtag.cxx b/i18npool/source/languagetag/simple-langtag.cxx index d05ab4236a4b..5d51bd9c00f7 100644 --- a/i18npool/source/languagetag/simple-langtag.cxx +++ b/i18npool/source/languagetag/simple-langtag.cxx @@ -32,6 +32,8 @@ struct GError { GError() : message(NULL) {} }; +typedef struct GError lt_error_t; + static gpointer g_malloc(size_t s) { return malloc(s); @@ -43,7 +45,7 @@ static void g_free(gpointer p) free(p); } -static void g_error_free(GError *error) +static void g_error_free(GError *error) __attribute__((used)) { if (error) { |