py: Make it easy to build without MICROPY_PY_BUILTINS_COMPLEX.

Automagically skip related modules.
This commit is contained in:
Paul Sokolovsky
2015-12-07 00:18:44 +02:00
parent 519cef813e
commit 2b7236d249
2 changed files with 2 additions and 2 deletions

View File

@@ -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>