diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-10 17:26:47 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-10 17:26:47 +0300 |
| commit | deaeaac4691a0a89343354045360a2e7eb5bbab3 (patch) | |
| tree | 012b06300c7af72aa626babe7ade0e164223dcf6 /py/mpconfig.h | |
| parent | 37b0f335452f5797fe2aede146d43adbcaabfe42 (diff) | |
modsys: Enable sys.exit() per port after all.
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 2711318d1..73ecc92d1 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -229,6 +229,11 @@ typedef double mp_float_t; #define MICROPY_MOD_SYS_STDFILES (0) #endif +// sys.exit() availability +#ifndef MICROPY_SYS_EXIT +#define MICROPY_SYS_EXIT (0) +#endif + // Whether to support slice object and correspondingly // slice subscript operators #ifndef MICROPY_ENABLE_SLICE |
