mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:03:34 +03:00
lib: use Curl_str_* instead of strtok_r()
Helps avoid extra mallocs. Gets rid of the private strtok_r implementation. Closes #16360
This commit is contained in:
parent
076444ec46
commit
676de7f580
26 changed files with 102 additions and 397 deletions
|
|
@ -250,7 +250,6 @@ if(_CURL_OLD_LINUX)
|
|||
else()
|
||||
set(HAVE_STROPTS_H 0) # glibc 2.30 or newer. https://sourceware.org/legacy-ml/libc-alpha/2019-08/msg00029.html
|
||||
endif()
|
||||
set(HAVE_STRTOK_R 1)
|
||||
set(HAVE_STRUCT_SOCKADDR_STORAGE 1)
|
||||
set(HAVE_STRUCT_TIMEVAL 1)
|
||||
if(ANDROID OR CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue