mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-04 04:07:53 +08:00
feat(lwip): Make raw LWIP API disable
This commit is contained in:
@ -50,7 +50,12 @@
|
||||
#include "esp_libc.h"
|
||||
#include "esp_system.h"
|
||||
|
||||
#ifdef CONFIG_LWIP_SOCKET_MULTITHREAD
|
||||
#define SOCKETS_MT
|
||||
#if defined(LWIP_HDR_SOCKETS_H) && !defined(_SOCKET_MT_H_)
|
||||
#error Please use <sys/socket.h> instead of "lwip/sockets.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//#define SOCKETS_TCP_TRACE
|
||||
|
||||
|
Reference in New Issue
Block a user