Alexandre Julliard : include: Try to avoid socklen_t redefinition in winsock.h.

Alexandre Julliard julliard at winehq.org
Tue Mar 31 12:19:21 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar 31 12:19:03 2009 +0200

include: Try to avoid socklen_t redefinition in winsock.h.

---

 include/winsock.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/winsock.h b/include/winsock.h
index 537e16a..6870197 100644
--- a/include/winsock.h
+++ b/include/winsock.h
@@ -79,12 +79,14 @@
 #  define fd_set unix_fd_set
 #  define timeval unix_timeval
 #  define select unix_select
+#  define socklen_t unix_socklen_t
 #  include <sys/types.h>
 #  include <time.h>
 #  include <stdlib.h>
 #  undef fd_set
 #  undef timeval
 #  undef select
+#  undef socklen_t
 #  undef FD_SETSIZE
 #  undef FD_CLR
 #  undef FD_SET




More information about the wine-cvs mailing list