diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/stream.c b/py/stream.c index a5a96a8682..cfdea15cca 100644 --- a/py/stream.c +++ b/py/stream.c @@ -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 |