forked from wolfSSL/wolfssl
make up for MDK-ARM
This commit is contained in:
8
src/io.c
8
src/io.c
@ -124,6 +124,14 @@
|
||||
#define SOCKET_EPIPE EPIPE
|
||||
#define SOCKET_ECONNREFUSED RTCSERR_TCP_CONN_REFUSED
|
||||
#define SOCKET_ECONNABORTED RTCSERR_TCP_CONN_ABORTED
|
||||
#elif defined(CYASSL_MDK_ARM)
|
||||
#define SOCKET_EWOULDBLOCK SCK_EWOULDBLOCK
|
||||
#define SOCKET_EAGAIN SCK_ELOCKED
|
||||
#define SOCKET_ECONNRESET SCK_ECLOSED
|
||||
#define SOCKET_EINTR SCK_ERROR
|
||||
#define SOCKET_EPIPE SCK_ERROR
|
||||
#define SOCKET_ECONNREFUSED SCK_ERROR
|
||||
#define SOCKET_ECONNABORTED SCK_ERROR
|
||||
#else
|
||||
#define SOCKET_EWOULDBLOCK EWOULDBLOCK
|
||||
#define SOCKET_EAGAIN EAGAIN
|
||||
|
Reference in New Issue
Block a user