diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-10 10:54:06 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-10 23:30:39 +0100 |
commit | 3f56fd64b86b581780464a13653f9bea1e20dbba (patch) | |
tree | 48536e469f5ae50483d690e6ba1f63fbb2fc3736 /py/mpconfig.h | |
parent | d60cb8e18094ed51141fb6685e6e52292bd349a2 (diff) |
py: Add mperrno.h file with uPy defined errno constants.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 42ef19b72..aaf1bc612 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -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) |