+2008-04-22 Simon Josefsson <simon@josefsson.org>
+
+ * lib/sys_socket.in.h: Define setsockopt macro to cast fourth
+ parameter to void* as per POSIX standard (MinGW uses char*).
+
2008-04-21 Bruno Haible <bruno@clisp.org>
* lib/wctype.in.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit,
# define ESHUTDOWN WSAESHUTDOWN
# endif
+# if defined _WIN32 || defined __WIN32__
+# define setsockopt(a,b,c,d,e) setsockopt(a,b,c,(const void*)(d),e)
+# endif
+
#endif /* HAVE_SYS_SOCKET_H */
#endif /* _GL_SYS_SOCKET_H */