[lwIP] Fix the compiling warning for lwip-1.4.1
This commit is contained in:
parent
bbe6425f94
commit
28433d9d54
@ -76,10 +76,6 @@ typedef rt_uint32_t mem_ptr_t;
|
|||||||
#define LWIP_TIMEVAL_PRIVATE 1
|
#define LWIP_TIMEVAL_PRIVATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(RT_USING_DFS_NET)
|
|
||||||
#define LWIP_COMPAT_SOCKETS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__CC_ARM) /* ARMCC compiler */
|
#if defined(__CC_ARM) /* ARMCC compiler */
|
||||||
#define PACK_STRUCT_FIELD(x) x
|
#define PACK_STRUCT_FIELD(x) x
|
||||||
#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
|
#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
|
||||||
|
@ -363,9 +363,13 @@
|
|||||||
* LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names.
|
* LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names.
|
||||||
* (only used if you use sockets.c)
|
* (only used if you use sockets.c)
|
||||||
*/
|
*/
|
||||||
|
#ifdef RT_USING_DFS_NET
|
||||||
|
#define LWIP_COMPAT_SOCKETS 0
|
||||||
|
#else
|
||||||
#ifndef LWIP_COMPAT_SOCKETS
|
#ifndef LWIP_COMPAT_SOCKETS
|
||||||
#define LWIP_COMPAT_SOCKETS 1
|
#define LWIP_COMPAT_SOCKETS 1
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user