commit | 2b7236d249bc87be1f9967a46693683c8722c351 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Mon Dec 07 00:18:44 2015 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Mon Dec 07 00:19:24 2015 +0200 |
tree | 4ec24b9c90946267093e058febac069513b1d79b | |
parent | 519cef813eff8a44d8f112cce5bcb07008ddbc98 [diff] [blame] |
py: Make it easy to build without MICROPY_PY_BUILTINS_COMPLEX. Automagically skip related modules.
diff --git a/py/modcmath.c b/py/modcmath.c index 570341d..33fe9c7 100644 --- a/py/modcmath.c +++ b/py/modcmath.c
@@ -26,7 +26,7 @@ #include "py/builtin.h" -#if MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_CMATH +#if MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH #include <math.h>