diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-29 20:50:16 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-29 20:50:16 +0300 |
commit | bb35f425f9db5896fe31e2213cb819998816ade6 (patch) | |
tree | 2abfa4883329fde4c6101fc57fc690f5aee2494e /py | |
parent | c10a4405cdde0facece3fd8d74be42c571a90ea5 (diff) | |
parent | ec6fa8732b3b30e14e505d9ee004bde260d48255 (diff) |
Merge pull request #730 from stinos/windows-mpconfig
windows: Sync mpconfigport.h with the unix' version
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 a5a96a868..cfdea15cc 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 |