Skip to content

Commit

Permalink
Merge pull request #7563 from josepho0918/mqx_v5
Browse files Browse the repository at this point in the history
Always use old I/O for MQXv5
  • Loading branch information
dgarske authored May 21, 2024
2 parents 87b71c4 + ed321cd commit 603b5d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wolfssl/wolfio.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@
#define SOCKET_ECONNREFUSED SYS_NET_ECONNREFUSED
#define SOCKET_ECONNABORTED SYS_NET_ECONNABORTED
#elif defined(FREESCALE_MQX) || defined(FREESCALE_KSDK_MQX)
#if MQX_USE_IO_OLD
#if (defined(MQX_USE_IO_OLD) && MQX_USE_IO_OLD) || \
defined(FREESCALE_MQX_5_0)
/* RTCS old I/O doesn't have an EWOULDBLOCK */
#define SOCKET_EWOULDBLOCK EAGAIN
#define SOCKET_EAGAIN EAGAIN
Expand Down

0 comments on commit 603b5d1

Please sign in to comment.