diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-25 00:47:00 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-25 00:47:00 +0300 |
commit | 16f324641f33201061fb4e79677bc760e45fb3ac (patch) | |
tree | 65563f2b0a3724a1f55ded2569139841cca0ee02 /py | |
parent | 1a7e28d8b7e98dc940e16fc16aad1c79c385977d (diff) | |
download | micropython-16f324641f33201061fb4e79677bc760e45fb3ac.tar.gz micropython-16f324641f33201061fb4e79677bc760e45fb3ac.zip |
py/stream.h: Remove dated comment of POSIX-specificity of EAGAIN.
We have adopted POSIX-compatible error numbers as MicroPython's native.
Diffstat (limited to 'py')
-rw-r--r-- | py/stream.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/stream.h b/py/stream.h index 7d43936754..bd3fa0bdc7 100644 --- a/py/stream.h +++ b/py/stream.h @@ -83,8 +83,6 @@ mp_uint_t mp_stream_rw(mp_obj_t stream, void *buf, mp_uint_t size, int *errcode, void mp_stream_write_adaptor(void *self, const char *buf, size_t len); #if MICROPY_STREAMS_NON_BLOCK -// TODO: This is POSIX-specific (but then POSIX is the only real thing, -// and anything else just emulates it, right?) #define mp_is_nonblocking_error(errno) ((errno) == EAGAIN || (errno) == EWOULDBLOCK) #else #define mp_is_nonblocking_error(errno) (0) |