mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:24:16 +03:00
fix warning about redefined symbol
This commit is contained in:
parent
2789b2b0ad
commit
944af98be6
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue