From deaeaac4691a0a89343354045360a2e7eb5bbab3 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 10 May 2014 17:26:47 +0300 Subject: modsys: Enable sys.exit() per port after all. --- py/mpconfig.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'py/mpconfig.h') 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 -- cgit v1.2.3