diff options
author | Xiang Xiao <xiaoxiang@xiaomi.com> | 2022-10-10 06:54:59 +0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-10-10 23:23:22 +0200 |
commit | d91c736f6c832d61c61cf407213c3c6f3b58d767 (patch) | |
tree | b956078e86d411878835799a525ab22d2b2cef6b /lib/curl_config.h.cmake | |
parent | d24a2ffefe37501e65b57719ca8a8aaa0035a57d (diff) | |
download | curl-d91c736f6c832d61c61cf407213c3c6f3b58d767.tar.gz |
cmake: add the check of HAVE_SOCKETPAIR
which is used by Curl_socketpair
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Closes #9686
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r-- | lib/curl_config.h.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index 3f7eb3c5d..5ac20dff0 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -457,6 +457,9 @@ /* Define to 1 if you have the `socket' function. */ #cmakedefine HAVE_SOCKET 1 +/* Define to 1 if you have the socketpair function. */ +#cmakedefine HAVE_SOCKETPAIR 1 + /* Define to 1 if you have the <ssl.h> header file. */ #cmakedefine HAVE_SSL_H 1 |