summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-13 15:23:35 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-13 15:24:57 +0200
commit94f9330d3e25e180776f732c0406a0f1dbbaeeb3 (patch)
tree0863c788d9441840f4717099e9effce5ff1502a4
parent6d1eabfeaa44cab32a6ea37d3c041a9b06ac5798 (diff)
downloadmicropython-94f9330d3e25e180776f732c0406a0f1dbbaeeb3.tar.gz
micropython-94f9330d3e25e180776f732c0406a0f1dbbaeeb3.zip
unix: Allow to override MICROPY_PY_MATH_SPECIAL_FUNCTIONS from command-line.
-rw-r--r--unix/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 4dbb8ee2e3..a6bd98a727 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -84,7 +84,9 @@
#define MICROPY_PY_SYS_STDFILES (1)
#define MICROPY_PY_SYS_EXC_INFO (1)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
+#ifndef MICROPY_PY_MATH_SPECIAL_FUNCTIONS
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
+#endif
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_GC_COLLECT_RETVAL (1)