From 7fc6f4dfd122036cab10159b5cd7aac033f79fdd Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 09:47:41 -0300 Subject: [PATCH] test --- iguana/iguana_peers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 16ad97485..4e997bde9 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -393,7 +393,7 @@ int32_t iguana_socket(int32_t bindflag,char *hostname,uint16_t port) //printf("keepalive.%d\n",opt); } setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(void *)&opt,sizeof(opt)); -#ifndef WIN2 //__APPLE__ +#ifndef __APPLE__ setsockopt(sock,SOL_SOCKET,SO_NOSIGPIPE,&opt,sizeof(opt)); #endif #endif