fix Keil AWS FreeRTOS-plus-TCP

This commit is contained in:
Sergio R. Caprile 2024-07-04 17:31:11 -03:00
parent 1c3b6ad59b
commit 0c4d33d558
2 changed files with 4 additions and 0 deletions

View File

@ -580,7 +580,9 @@ int sscanf(const char *, const char *, ...);
#define sockaddr_in freertos_sockaddr
#define sockaddr freertos_sockaddr
#if ipFR_TCP_VERSION_MAJOR >= 4
#define sin_addr sin_address.ulIP_IPv4
#endif
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))

View File

@ -38,7 +38,9 @@
#define sockaddr_in freertos_sockaddr
#define sockaddr freertos_sockaddr
#if ipFR_TCP_VERSION_MAJOR >= 4
#define sin_addr sin_address.ulIP_IPv4
#endif
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))