mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-11 17:04:33 +07:00
fix Keil AWS FreeRTOS-plus-TCP
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user