mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
windows: Sync mpconfigport.h with the unix' version
- rearrange/add definitions that were not there so it's easier to compare both - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway - define EWOULDBLOCK, it is missing from ingw32
This commit is contained in:
@@ -37,6 +37,9 @@
|
||||
#include "stream.h"
|
||||
#if MICROPY_STREAMS_NON_BLOCK
|
||||
#include <errno.h>
|
||||
#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
|
||||
#define EWOULDBLOCK 140
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// This file defines generic Python stream read/write methods which
|
||||
|
||||
Reference in New Issue
Block a user