Subject: winex/dlls/rpcrt4 rpcrt4_main.c,1.7,1.8Update of /var/lib/cvsd/cvsroot/winex/dlls/rpcrt4
In directory agravaine:/tmp/cvs-serv15052/dlls/rpcrt4
Modified Files:
rpcrt4_main.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: rpcrt4_main.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/rpcrt4/rpcrt4_main.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rpcrt4_main.c 15 Nov 2004 15:40:04 -0000 1.7
+++ rpcrt4_main.c 30 Mar 2007 20:16:32 -0000 1.8
@@ -331,7 +331,7 @@
* However, under earlier systems, sa_len isn't present, so
* the size is just sizeof(struct ifreq)
*/
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
# ifndef max
# define max(a,b) ((a) > (b) ? (a) : (b))
# endif
@@ -339,7 +339,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) */
sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);
if (sd < 0) {
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.