[geocode-glib] Only expose _NL_ADDRESS_POSTAL_FMT on __GNUC__
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] Only expose _NL_ADDRESS_POSTAL_FMT on __GNUC__
- Date: Thu, 8 Jan 2015 08:47:50 +0000 (UTC)
commit 005075f6a28c18f5196ba60ff07b888776af6dfc
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Thu Jan 8 03:15:26 2015 -0500
Only expose _NL_ADDRESS_POSTAL_FMT on __GNUC__
geocode-glib/geocode-glib.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/geocode-glib/geocode-glib.c b/geocode-glib/geocode-glib.c
index 595b9a6..a0673c3 100644
--- a/geocode-glib/geocode-glib.c
+++ b/geocode-glib/geocode-glib.c
@@ -190,6 +190,7 @@ _geocode_object_get_lang (void)
return geocode_object_get_lang_for_locale (setlocale (LC_MESSAGES, NULL));
}
+#ifdef __GNUC__
static gpointer
is_number_after_street (gpointer data)
{
@@ -217,6 +218,7 @@ is_number_after_street (gpointer data)
out:
return GINT_TO_POINTER (retval);
}
+#endif
gboolean
_geocode_object_is_number_after_street (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]