CVS: winex/dlls/netapi32 netapi32.c,1.4,1.5

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/netapi32 netapi32.c,1.4,1.5Update of /var/lib/cvsd/cvsroot/winex/dlls/netapi32
In directory agravaine:/tmp/cvs-serv14976/dlls/netapi32

Modified Files:
	netapi32.c 
Log Message:

- shift to using HAVE_STRUCT_SOCKADDR_SA_LEN instead of HAVE_SOCKADDR_SA_LEN for ease of compatibility with imported WineHQ code


Index: netapi32.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/netapi32/netapi32.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- netapi32.c	15 Nov 2004 15:39:30 -0000	1.4
+++ netapi32.c	30 Mar 2007 20:16:21 -0000	1.5
@@ -36,7 +36,7 @@
 # include <netinet/in.h>
 #endif
 
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
 #  ifndef max
 #   define max(a,b) ((a) > (b) ? (a) : (b))
 #  endif
@@ -44,7 +44,7 @@
 sizeof((i).ifr_name)+(i).ifr_addr.sa_len)
 # else
 #  define ifreq_size(i) sizeof(struct ifreq)
-# endif /* defined(HAVE_SOCKADDR_SA_LEN) */
+# endif /* defined(HAVE_STRUCT_SOCKADDR_SA_LEN) */
 
 WINE_DEFAULT_DEBUG_CHANNEL(netbios);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.