dlls/iphlpapi/ipstats.c: #ifdef __linux__

Gerald Pfeifer gerald at pfeifer.com
Sun Mar 8 18:28:29 CDT 2009


ChangeLog:
append_udp_row is only used on Linux.

Index: dlls/iphlpapi/ipstats.c
===================================================================
RCS file: /home/wine/wine/dlls/iphlpapi/ipstats.c,v
retrieving revision 1.71
diff -u -3 -p -r1.71 ipstats.c
--- dlls/iphlpapi/ipstats.c	6 Mar 2009 16:00:36 -0000	1.71
+++ dlls/iphlpapi/ipstats.c	8 Mar 2009 23:27:39 -0000
@@ -1269,7 +1269,7 @@ done:
     return ret;
 }
 
-
+#ifdef __linux__
 static MIB_UDPTABLE *append_udp_row( HANDLE heap, DWORD flags, MIB_UDPTABLE *table,
                                      DWORD *count, const MIB_UDPROW *row )
 {
@@ -1289,6 +1289,7 @@ static MIB_UDPTABLE *append_udp_row( HAN
     memcpy( &table->table[table->dwNumEntries++], row, sizeof(*row) );
     return table;
 }
+#endif
 
 static int compare_udp_rows(const void *a, const void *b)
 {



More information about the wine-patches mailing list