Trying to support lwip with w5500.

This commit is contained in:
涂煜洋
2023-08-25 13:43:11 +08:00
parent a5a809aa0a
commit 8b32c2f4ed
12 changed files with 562 additions and 12 deletions
@@ -200,7 +200,9 @@ typedef uintptr_t mem_ptr_t;
#include <unistd.h>
#endif
#else /* SSIZE_MAX */
#ifndef RISCV_LWIP
typedef int ssize_t;
#endif
#define SSIZE_MAX INT_MAX
#endif /* SSIZE_MAX */