mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #123 from JacobBarthelmeh/testing
remove test.h fcntl from build with nucleus portpull/126/head
commit
3994d0f538
|
@ -547,7 +547,8 @@ static INLINE void tcp_set_nonblocking(SOCKET_T* sockfd)
|
||||||
if (ret == SOCKET_ERROR)
|
if (ret == SOCKET_ERROR)
|
||||||
err_sys("ioctlsocket failed");
|
err_sys("ioctlsocket failed");
|
||||||
#elif defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET) \
|
#elif defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET) \
|
||||||
|| defined (WOLFSSL_TIRTOS)|| defined(WOLFSSL_VXWORKS)
|
|| defined (WOLFSSL_TIRTOS)|| defined(WOLFSSL_VXWORKS) || \
|
||||||
|
defined(WOLFSSL_NUCLEUS)
|
||||||
/* non blocking not supported, for now */
|
/* non blocking not supported, for now */
|
||||||
#else
|
#else
|
||||||
int flags = fcntl(*sockfd, F_GETFL, 0);
|
int flags = fcntl(*sockfd, F_GETFL, 0);
|
||||||
|
|
Loading…
Reference in New Issue