mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:43:34 +03:00
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
This commit is contained in:
parent
eb0167ff7d
commit
eb33ccd533
12 changed files with 130 additions and 630 deletions
|
|
@ -1661,55 +1661,6 @@ $ goto cfgh_in_loop1
|
|||
$ endif
|
||||
$ endif
|
||||
$!
|
||||
$!
|
||||
$! Process SELECT directives
|
||||
$!-------------------------------------
|
||||
$ if key2a .eqs. "SELECT"
|
||||
$ then
|
||||
$ if key2 .eqs. "SELECT_QUAL_ARG5"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' const"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SELECT_TYPE_ARG1"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' int"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SELECT_TYPE_ARG2"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' void *"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SELECT_TYPE_ARG234"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' fd_set *"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SELECT_TYPE_ARG5"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' struct timeval *"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SELECT_TYPE_RETV"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' int"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ endif
|
||||
$!
|
||||
$! Process SEND directives
|
||||
$!-------------------------------------
|
||||
$ if key2a .eqs. "SEND"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue