diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-10 23:25:39 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-10 23:30:39 +0100 |
commit | 4f2ba9fbdcbafd7ae09199186320f4173bcc8c31 (patch) | |
tree | 2146c48c85567dbe715630d2dffe95fa75c50cb0 /esp8266/mpconfigport.h | |
parent | 5ab98d5c41bffa799a551a2731d904cab346898e (diff) | |
download | micropython-4f2ba9fbdcbafd7ae09199186320f4173bcc8c31.tar.gz micropython-4f2ba9fbdcbafd7ae09199186320f4173bcc8c31.zip |
esp8266: Convert to use new MP_Exxx errno symbols.
These symbols are still defined in terms of the system Exxx symbols, and
can be switched to internal numeric definitions at a later stage.
Note that extmod/modlwip still uses many system Exxx symbols.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r-- | esp8266/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 89f3bb952b..1c0b465abe 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -24,6 +24,7 @@ #define MICROPY_ENABLE_SOURCE_LINE (1) #define MICROPY_MODULE_WEAK_LINKS (1) #define MICROPY_CAN_OVERRIDE_BUILTINS (1) +#define MICROPY_USE_INTERNAL_ERRNO (0) #define MICROPY_PY_BUILTINS_COMPLEX (0) #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_BYTEARRAY (1) |