tiny-curl: base and FreeRTOS support

This commit is contained in:
Daniel Stenberg 2021-04-12 08:52:24 +02:00
parent 6f19f68e93
commit 462d10f44c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
17 changed files with 1368 additions and 54 deletions

View file

@ -94,7 +94,7 @@ int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes,
With Winsock the valid range is [0..INVALID_SOCKET-1] according to
https://docs.microsoft.com/en-us/windows/win32/winsock/socket-data-type-2
*/
#if defined(TPF)
#if defined(USE_WINSOCK) || defined(TPF) || defined(FreeRTOS)
#define VALID_SOCK(x) 1
#define VERIFY_SOCK(x) Curl_nop_stmt
#define FDSET_SOCK(x) 1