mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 01:38:01 +08:00
fix Keil AWS FreeRTOS-plus-TCP
This commit is contained in:
parent
1c3b6ad59b
commit
0c4d33d558
@ -580,7 +580,9 @@ int sscanf(const char *, const char *, ...);
|
|||||||
|
|
||||||
#define sockaddr_in freertos_sockaddr
|
#define sockaddr_in freertos_sockaddr
|
||||||
#define sockaddr freertos_sockaddr
|
#define sockaddr freertos_sockaddr
|
||||||
|
#if ipFR_TCP_VERSION_MAJOR >= 4
|
||||||
#define sin_addr sin_address.ulIP_IPv4
|
#define sin_addr sin_address.ulIP_IPv4
|
||||||
|
#endif
|
||||||
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
|
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
|
||||||
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
|
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
|
||||||
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))
|
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))
|
||||||
|
@ -38,7 +38,9 @@
|
|||||||
|
|
||||||
#define sockaddr_in freertos_sockaddr
|
#define sockaddr_in freertos_sockaddr
|
||||||
#define sockaddr freertos_sockaddr
|
#define sockaddr freertos_sockaddr
|
||||||
|
#if ipFR_TCP_VERSION_MAJOR >= 4
|
||||||
#define sin_addr sin_address.ulIP_IPv4
|
#define sin_addr sin_address.ulIP_IPv4
|
||||||
|
#endif
|
||||||
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
|
#define accept(a, b, c) FreeRTOS_accept((a), (b), (c))
|
||||||
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
|
#define connect(a, b, c) FreeRTOS_connect((a), (b), (c))
|
||||||
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))
|
#define bind(a, b, c) FreeRTOS_bind((a), (b), (c))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user