mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
sockets_stresstest: don't compile when LWIP_SOCKET is disabled
This commit is contained in:
parent
e6f0700c81
commit
ca0a356221
@ -60,6 +60,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#if LWIP_SOCKET
|
||||
|
||||
#ifndef TEST_SOCKETS_STRESS
|
||||
#define TEST_SOCKETS_STRESS LWIP_DBG_OFF
|
||||
#endif
|
||||
@ -607,3 +609,5 @@ sockets_stresstest_init_client(const char *remote_ip, u16_t remote_port)
|
||||
((struct sockaddr_in *)addr)->sin_port = remote_port;
|
||||
sockets_stresstest_start_clients(addr);
|
||||
}
|
||||
|
||||
#endif /* LWIP_SOCKET */
|
||||
|
Loading…
Reference in New Issue
Block a user