summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-30 20:05:56 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-30 20:05:56 +0300
commit61e77a4e88c4b6971fd997191de01e5ab08e46c5 (patch)
treefff2891aa94810f76849050fe02504c8599a0ab4 /esp8266
parent58d9d85a564bbae5fa7eaa1f0baa62be56024366 (diff)
downloadmicropython-61e77a4e88c4b6971fd997191de01e5ab08e46c5.tar.gz
micropython-61e77a4e88c4b6971fd997191de01e5ab08e46c5.zip
py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.
To filter out even prototypes of mp_stream_posix_*() functions, which require POSIX types like ssize_t & off_t, which may be not available in some ports.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 299dc8eaea..0cd7e8c313 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -75,6 +75,7 @@
#define MICROPY_WARNINGS (1)
#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
#define MICROPY_STREAMS_NON_BLOCK (1)
+#define MICROPY_STREAMS_POSIX_API (1)
#define MICROPY_MODULE_FROZEN_STR (1)
#define MICROPY_MODULE_FROZEN_MPY (1)
#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32