[glib] gthreadedresolver.c: Fix for Android 5.0+



commit e5e08ebedbc1dd97d19f2504d43619991b1e52aa
Author: Mike Frysinger <vapier gentoo org>
Date:   Mon Oct 12 23:29:00 2015 -0400

    gthreadedresolver.c: Fix for Android 5.0+
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756477

 gio/gthreadedresolver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c
index c02c593..2ba42f1 100644
--- a/gio/gthreadedresolver.c
+++ b/gio/gthreadedresolver.c
@@ -263,7 +263,7 @@ lookup_by_address_finish (GResolver     *resolver,
 
 #if defined(G_OS_UNIX)
 
-#ifdef __BIONIC__
+#if defined __BIONIC__ && !defined BIND_4_COMPAT
 /* Copy from bionic/libc/private/arpa_nameser_compat.h
  * and bionic/libc/private/arpa_nameser.h */
 typedef struct {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]