File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 3
3
const CURL = Cvoid
4
4
const CURLSH = Cvoid
5
5
6
- const curl_socket_t = Cint
7
- const CURL_SOCKET_BAD = - 1
6
+ if Sys. iswindows ()
7
+ const curl_socket_t = Base. OS_HANDLE
8
+ const CURL_SOCKET_BAD = Base. INVALID_OS_HANDLE
9
+ else
10
+ const curl_socket_t = Cint
11
+ const CURL_SOCKET_BAD = - 1
12
+ end
8
13
9
14
# begin enum curl_sslbackend
10
15
const curl_sslbackend = UInt32
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const CURL_SUFFIX_CURL_OFF_TU = Culong
7
7
const CURL_TYPEOF_CURL_SOCKLEN_T = socklen_t
8
8
const CURL_PULL_SYS_TYPES_H = 1
9
9
const CURL_PULL_SYS_SOCKET_H = 1
10
- const CURL_SOCKET_BAD = - 1
11
10
const CURLSSLBACKEND_LIBRESSL = CURLSSLBACKEND_OPENSSL
12
11
const CURLSSLBACKEND_BORINGSSL = CURLSSLBACKEND_OPENSSL
13
12
const CURLSSLBACKEND_CYASSL = CURLSSLBACKEND_WOLFSSL
You can’t perform that action at this time.
0 commit comments