comparison lib/sys_socket.in.h @ 9962:7263aa22b4d6

Cast fourth argument to setsockopt on MinGW.
author Simon Josefsson <simon@josefsson.org>
date Tue, 22 Apr 2008 10:57:31 +0200
parents be905220886f
children 2efe37d5c70d
comparison
equal deleted inserted replaced
9961:794d8915527c 9962:7263aa22b4d6
100 # define ECONNRESET WSAECONNRESET 100 # define ECONNRESET WSAECONNRESET
101 # define ENOTCONN WSAENOTCONN 101 # define ENOTCONN WSAENOTCONN
102 # define ESHUTDOWN WSAESHUTDOWN 102 # define ESHUTDOWN WSAESHUTDOWN
103 # endif 103 # endif
104 104
105 # if defined _WIN32 || defined __WIN32__
106 # define setsockopt(a,b,c,d,e) setsockopt(a,b,c,(const void*)(d),e)
107 # endif
108
105 #endif /* HAVE_SYS_SOCKET_H */ 109 #endif /* HAVE_SYS_SOCKET_H */
106 110
107 #endif /* _GL_SYS_SOCKET_H */ 111 #endif /* _GL_SYS_SOCKET_H */
108 #endif /* _GL_SYS_SOCKET_H */ 112 #endif /* _GL_SYS_SOCKET_H */