summaryrefslogtreecommitdiffstatshomepage
path: root/py/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/stream.h')
-rw-r--r--py/stream.h2
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)