aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 4ab7af2bd..8799ba2df 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -143,6 +143,7 @@ int Curl_nonblock(curl_socket_t sockfd, /* operate on this */
return fcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
else
return fcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK));
+#undef SETBLOCK
#define SETBLOCK 1
#endif