summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-10 10:54:25 +0100
committerDamien George <damien.p.george@gmail.com>2016-05-10 23:30:39 +0100
commit596a3feb8fd3cfbaa899c23b010f79a7088863fb (patch)
tree56d60ffbde93913e73bebd7faa5fc5e8fdbcfd37 /py/mpconfig.h
parent3f56fd64b86b581780464a13653f9bea1e20dbba (diff)
py: Add uerrno module, with errno constants and dict.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index aaf1bc612..a6b4a4ab0 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -814,6 +814,11 @@ typedef double mp_float_t;
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
#endif
+// Whether to provide "uerrno" module
+#ifndef MICROPY_PY_UERRNO
+#define MICROPY_PY_UERRNO (0)
+#endif
+
// Extended modules
#ifndef MICROPY_PY_UCTYPES