diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-11 17:35:43 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-11 17:35:43 +0100 |
commit | 89755ae67f5c4a7cf7c963a53b12489461f0d839 (patch) | |
tree | 0233baa5d8d337c99cfd792d3940ea3c3e31d4e7 /py/mpconfig.h | |
parent | f92a0d4d169adeb9a06618c66b2f9a2885f61133 (diff) | |
download | micropython-89755ae67f5c4a7cf7c963a53b12489461f0d839.tar.gz micropython-89755ae67f5c4a7cf7c963a53b12489461f0d839.zip |
py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT.
For consistency with MICROPY_MOD_SYS_STDFILES, etc.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index a7e1c4a40d..76cd1091cb 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -235,13 +235,14 @@ typedef double mp_float_t; #define MICROPY_ENABLE_MOD_SYS (1) #endif -#ifndef MICROPY_MOD_SYS_STDFILES -#define MICROPY_MOD_SYS_STDFILES (0) +// sys.exit() availability +#ifndef MICROPY_MOD_SYS_EXIT +#define MICROPY_MOD_SYS_EXIT (0) #endif -// sys.exit() availability -#ifndef MICROPY_SYS_EXIT -#define MICROPY_SYS_EXIT (0) +// sys.{stdin,stdout,stderr} availability +#ifndef MICROPY_MOD_SYS_STDFILES +#define MICROPY_MOD_SYS_STDFILES (0) #endif // Whether to support slice object and correspondingly |