mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-28 14:54:05 +00:00
fixed bug #34057 socklen_t should be a typedef
This commit is contained in:
parent
cd5d1ceadf
commit
2e69b54a4f
@ -41,6 +41,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2011-08-24: Simon Goldschmidt
|
||||||
|
* sockets.h: fixed bug #34057 socklen_t should be a typedef
|
||||||
|
|
||||||
2011-08-24: Simon Goldschmidt
|
2011-08-24: Simon Goldschmidt
|
||||||
* pbuf.c: fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
|
* pbuf.c: fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
|
||||||
|
|
||||||
|
@ -78,8 +78,10 @@ struct sockaddr {
|
|||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 */
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef socklen_t
|
/* If your port already typedef's socklen_t, define SOCKLEN_T_DEFINED
|
||||||
# define socklen_t u32_t
|
to prevent this code from redefining it. */
|
||||||
|
#if !defined(socklen_t) && !defined(SOCKLEN_T_DEFINED)
|
||||||
|
typedef u32_t socklen_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Socket protocol types (TCP/UDP/RAW) */
|
/* Socket protocol types (TCP/UDP/RAW) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user