GIO MSVC Project: Link to iphlpapi.lib
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 21 Aug 2013 03:16:19 +0000 (11:16 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 21 Aug 2013 03:16:19 +0000 (11:16 +0800)
commit7145f06941c3909108d248f11bd992bc221048d7
tree05610511baa8bd6da7efeab4cf6823d5515ce4b8
parente05abaed0467fa4231bd0665973aa6b42384a12c
GIO MSVC Project: Link to iphlpapi.lib

This is needed for GetAdaptersAddresses()[1], which was used to implement
if_nametoindex on Windows, notably on Windows XP, in commit 01156b12.

if_nametoindex and if_indextoname, as noted in config.h.win32(.in), is
available with Windows Vista and later, so when we eventually drop
support for Windows XP, we can call them directly, and these functions
also reside in the same iphlpapi.lib

[1]: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365915%28v=vs.85%29.aspx
build/win32/vs10/gio.vcxprojin
build/win32/vs9/gio.vcprojin