mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
build: require POSIX strdup()
Stop detecting this function and drop the local fallback. Let us know if this update is causing an issue. Notes: - on Windows `_strdup()` is required instead. - `strdup()/_strdup()` were required before this patch to build one of the examples: `block_ip`. - `strdup()/_strdup()` were required in 8.18.0 and earlier to build tests. Closes #20505
This commit is contained in:
parent
710d5a28fb
commit
0590753a3c
10 changed files with 0 additions and 120 deletions
|
|
@ -1612,7 +1612,6 @@ if(NOT WIN32)
|
|||
check_function_exists("realpath" HAVE_REALPATH)
|
||||
check_function_exists("sched_yield" HAVE_SCHED_YIELD)
|
||||
check_symbol_exists("strcasecmp" "string.h" HAVE_STRCASECMP)
|
||||
check_symbol_exists("strdup" "string.h" HAVE_STRDUP)
|
||||
check_symbol_exists("stricmp" "string.h" HAVE_STRICMP)
|
||||
check_symbol_exists("strcmpi" "string.h" HAVE_STRCMPI)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue