summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 17:26:47 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 17:26:47 +0300
commitdeaeaac4691a0a89343354045360a2e7eb5bbab3 (patch)
tree012b06300c7af72aa626babe7ade0e164223dcf6 /unix/mpconfigport.h
parent37b0f335452f5797fe2aede146d43adbcaabfe42 (diff)
downloadmicropython-deaeaac4691a0a89343354045360a2e7eb5bbab3.tar.gz
micropython-deaeaac4691a0a89343354045360a2e7eb5bbab3.zip
modsys: Enable sys.exit() per port after all.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index ba95349a6e..38bb979c92 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -44,6 +44,7 @@
#define MICROPY_USE_COMPUTED_GOTO (1)
#define MICROPY_MOD_SYS_STDFILES (1)
#define MICROPY_ENABLE_MOD_CMATH (1)
+#define MICROPY_SYS_EXIT (1)
// Define to MICROPY_ERROR_REPORTING_DETAILED to get function, etc.
// names in exception messages (may require more RAM).
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)