gio/gresolver.c: Fix build on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 19 Feb 2014 05:57:18 +0000 (13:57 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 20 Feb 2014 00:36:54 +0000 (08:36 +0800)
commit9cb53851be2d90c804e6f31da26a11c51329f33c
tree68cde37bb39cc00da0dcde74e7bb42ddc613f25a
parenta5ae016359ffb8634d6a12e5853e89f743eca0b9
gio/gresolver.c: Fix build on Windows

Windows does not come with inet_aton(), and this check on IPv4 addresses
is actually not needed on Windows as the getaddrinfo() implementation on
Windows already rejects non-standard and non-real IPv4 numbers-and-dots
addresses.

https://bugzilla.gnome.org/show_bug.cgi?id=724609
gio/gresolver.c