fix socket compile error

This commit is contained in:
liuzhifu
2016-08-17 21:05:29 +08:00
committed by Wu Jian Gang
parent e4722e6143
commit 6f122928f0
5 changed files with 35 additions and 3 deletions

View File

@@ -405,7 +405,7 @@ do{\
/** The global array of available sockets */
static struct lwip_sock sockets[NUM_SOCKETS];
#ifdef LWIP_THREAD_SAFE
#if LWIP_THREAD_SAFE
static bool sockets_init_flag = false;
#endif
/** The global list of tasks waiting for select */