Gerald Pfeifer : iphlpapi: #define RTF_LLINFO if not in system headers.

Alexandre Julliard julliard at winehq.org
Thu Jan 29 09:14:46 CST 2009


Module: wine
Branch: master
Commit: ee1d767fd80ef8e506bb2639341508d85497c895
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ee1d767fd80ef8e506bb2639341508d85497c895

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed Jan 28 11:40:42 2009 +0100

iphlpapi: #define RTF_LLINFO if not in system headers.

---

 dlls/iphlpapi/ipstats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index 6d3c413..75d4611 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -142,6 +142,10 @@
 #define RTF_MULTICAST 0 /* Not available on NetBSD/OpenBSD */
 #endif
 
+#ifndef RTF_LLINFO
+#define RTF_LLINFO 0 /* Not available on FreeBSD 8 and above */
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
 
 DWORD getInterfaceStatsByName(const char *name, PMIB_IFROW entry)




More information about the wine-cvs mailing list