mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #595 from wolfSSL/Espressif-test-update
commit
e5f4b692fb
|
@ -136,6 +136,14 @@
|
|||
#endif
|
||||
#define SOCKET_T int
|
||||
#define NUM_SOCKETS 5
|
||||
#elif defined(WOLFSSL_ESPIDF)
|
||||
#include "sdkconfig.h"
|
||||
#include <esp_idf_version.h>
|
||||
#include <esp_log.h>
|
||||
#include <lwip/sockets.h>
|
||||
#include <lwip/netdb.h>
|
||||
#define SOCKET_T int
|
||||
#define NUM_SOCKETS 5
|
||||
#else /* USE_WINDOWS_API */
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -520,6 +528,8 @@ static INLINE void tcp_socket(WS_SOCKET_T* sockFd)
|
|||
/* not full signal implementation */
|
||||
#elif defined(WOLFSSL_NUCLEUS)
|
||||
/* nothing to define */
|
||||
#elif defined(WOLFSSL_ESPIDF)
|
||||
/* nothing to define */
|
||||
#else /* no S_NOSIGPIPE */
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif /* S_NOSIGPIPE */
|
||||
|
|
Loading…
Reference in New Issue