X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsys_socket.in.h;h=ea39a352a5a6878f4e56fb013c8282a927719be8;hb=2217763ff0775fa8093a26acfc1b51b726bb358a;hp=d2a081fcdf7c13507367babc76eae1caf8403b1f;hpb=70189e759b0852614074c7f02ec69ce2e47edfbc;p=gnulib.git diff --git a/lib/sys_socket.in.h b/lib/sys_socket.in.h index d2a081fcd..ea39a352a 100644 --- a/lib/sys_socket.in.h +++ b/lib/sys_socket.in.h @@ -102,7 +102,7 @@ # define ESHUTDOWN WSAESHUTDOWN # endif -# if defined _WIN32 || defined __WIN32__ +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ # define setsockopt(a,b,c,d,e) rpl_setsockopt(a,b,c,d,e) static inline int rpl_setsockopt(int socket, int level, int optname, const void *optval,