diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-07 00:18:44 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-07 00:19:24 +0200 |
commit | 2b7236d249bc87be1f9967a46693683c8722c351 (patch) | |
tree | 4ec24b9c90946267093e058febac069513b1d79b /py/modcmath.c | |
parent | 519cef813eff8a44d8f112cce5bcb07008ddbc98 (diff) |
py: Make it easy to build without MICROPY_PY_BUILTINS_COMPLEX.
Automagically skip related modules.
Diffstat (limited to 'py/modcmath.c')
-rw-r--r-- | py/modcmath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modcmath.c b/py/modcmath.c index 570341d91..33fe9c73f 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> |