Austin English : iphlpapi: Define RTF_MULTICAST if not available.

Alexandre Julliard julliard at winehq.org
Fri Jan 16 07:41:52 CST 2009


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Jan 15 15:24:58 2009 -0600

iphlpapi: Define RTF_MULTICAST if not available.

---

 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 3fc91eb..85f91e2 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -130,6 +130,10 @@
 #define TCPS_CLOSING     11
 #endif
 
+#ifndef RTF_MULTICAST
+#define RTF_MULTICAST 0 /* Not available on NetBSD/OpenBSD */
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
 
 DWORD getInterfaceStatsByName(const char *name, PMIB_IFROW entry)




More information about the wine-cvs mailing list