glib/gio/libasyncns
Dan Winship e56498ee0b Fix usage of _GNU_SOURCE
_GNU_SOURCE must be defined before including any other (system)
header, so defining it in glib-unix.h (and hoping no one has included
anything else before that) is wrong. And the "#define _USE_GNU"
workaround for this problem in gnetworkingprivate.h is even wronger
(and still prone to failure anyway due to single-include guards).

Fix this by defining _GNU_SOURCE in config.h when building against
glibc. In theory this is bad because new releases of glibc may include
symbols that conflict with glib symbols, which could then cause
compile failures. However, most people only see new releases of glibc
when they upgrade their distro, at which point they also generally get
new releases of gcc, which have new warnings/errors to clean up
anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=649201
2011-05-03 07:07:41 -04:00
..
asyncns.c Fix build on Solaris 8 2010-02-21 15:55:10 -05:00
asyncns.h Add GResolver, a glib-ish interface to DNS 2009-04-22 08:36:32 -04:00
g-asyncns.h Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
Makefile.am Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
README Add GResolver, a glib-ish interface to DNS 2009-04-22 08:36:32 -04:00
update.sh Add GResolver, a glib-ish interface to DNS 2009-04-22 08:36:32 -04:00

The sources are derived from Lennart Poettering's libasyncns library:

 http://0pointer.de/lennart/projects/libasyncns/

The 'update.sh' script in this directory, when pointed at
the original sources updates the files in this directory
to the new version