diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-09-26 11:45:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-28 09:06:11 +0200 |
commit | eb33ccd5332435fa50f1758e5debb869c6942b7f (patch) | |
tree | 818f3c3bd88714f4e80ed8ddec1c78d6a3dd1472 /CMakeLists.txt | |
parent | eb0167ff7d31d3a5e1f01e8b05e25b1bf94bb2a7 (diff) | |
download | curl-eb33ccd5332435fa50f1758e5debb869c6942b7f.tar.gz |
functypes: provide the recv and send arg and return types
This header is for providing the argument types for recv() and send()
when built to not use a dedicated config-[platfor].h file.
Remove the slow brute-force checks from configure and cmake.
This change also removes the use of the types for select, as they were
not used in code.
Closes #9592
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fa8956fe..7fa6569d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1037,6 +1037,8 @@ endif() check_symbol_exists(fchmod "${CURL_INCLUDES}" HAVE_FCHMOD) check_symbol_exists(basename "${CURL_INCLUDES}" HAVE_BASENAME) check_symbol_exists(socket "${CURL_INCLUDES}" HAVE_SOCKET) +check_symbol_exists(recv "${CURL_INCLUDES}" HAVE_RECV) +check_symbol_exists(send "${CURL_INCLUDES}" HAVE_SEND) check_symbol_exists(select "${CURL_INCLUDES}" HAVE_SELECT) check_symbol_exists(strdup "${CURL_INCLUDES}" HAVE_STRDUP) check_symbol_exists(strtok_r "${CURL_INCLUDES}" HAVE_STRTOK_R) |