1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fix warning about redefined symbol

This commit is contained in:
Daniel Stenberg 2005-05-14 21:15:36 +00:00
parent 2789b2b0ad
commit 944af98be6

View File

@ -143,6 +143,7 @@ int Curl_nonblock(curl_socket_t sockfd, /* operate on this */
return fcntl(sockfd, F_SETFL, flags | O_NONBLOCK); return fcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
else else
return fcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK)); return fcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK));
#undef SETBLOCK
#define SETBLOCK 1 #define SETBLOCK 1
#endif #endif