[glib] config.h.win32.in: Add note on if_nametoindex



commit 71c3ba28a8d9e117efb0446db37d69210820266f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Feb 8 20:41:13 2012 +0800

    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.

 config.h.win32.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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. */



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