py: Add mperrno.h file with uPy defined errno constants.

This commit is contained in:
Damien George
2016-05-10 10:54:06 +01:00
parent d60cb8e180
commit 3f56fd64b8
2 changed files with 122 additions and 0 deletions

View File

@@ -555,6 +555,11 @@ typedef double mp_float_t;
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (1)
#endif
// Whether to use internally defined errno's (otherwise system provided ones)
#ifndef MICROPY_USE_INTERNAL_ERRNO
#define MICROPY_USE_INTERNAL_ERRNO (0)
#endif
// Support for user-space VFS mount (selected ports)
#ifndef MICROPY_FSUSERMOUNT
#define MICROPY_FSUSERMOUNT (0)