mirror of
https://github.com/curl/curl.git
synced 2026-06-28 03:33:10 +03:00
checksrc: ensure using ifdef/ifndef when possible, fix fallouts
Follow-up to 89771d19d5 #18018
Closes #20065
This commit is contained in:
parent
e8415a8296
commit
4ad87f2cb8
9 changed files with 30 additions and 11 deletions
|
|
@ -45,7 +45,7 @@ curl_socket_t tool_socket_open_mptcp_cb(void *clientp,
|
|||
(void)purpose;
|
||||
|
||||
if(protocol == IPPROTO_TCP)
|
||||
#if defined(__linux__)
|
||||
#ifdef __linux__
|
||||
# ifndef IPPROTO_MPTCP
|
||||
# define IPPROTO_MPTCP 262
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue