From: Chun-wei Fan Date: Wed, 8 Feb 2012 12:41:13 +0000 (+0800) Subject: config.h.win32.in: Add note on if_nametoindex X-Git-Tag: 2.31.18~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71c3ba28a8d9e117efb0446db37d69210820266f;p=platform%2Fupstream%2Fglib.git config.h.win32.in: Add note on if_nametoindex This explains the current disabling of HAVE_IF_NAMETOINDEX as we are still supporting Windows XP. This is expected to change when the patch for XP support for if_nametoindex in accepted into master. --- diff --git a/config.h.win32.in b/config.h.win32.in index 2e1da70..a0a14e3 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -222,6 +222,10 @@ /* #undef HAVE_HASMNTOPT */ /* Define to 1 if you have the `if_nametoindex' function. */ +/* This is available on Windows, but the catch is that this will require */ +/* Windows Vista/Server 2008, so disabled for now-please see */ +/* http://msdn.microsoft.com/en-us/library/windows/desktop/bb408409%28v=vs.85%29.aspx */ +/* A workaround for Windows XP is under review in Bug 668071 */ /* #undef HAVE_IF_NAMETOINDEX */ /* Define to 1 if you have the `inotify_init1' function. */