aboutsummaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-08-20 01:01:56 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-08-20 01:05:11 +0300
commit22ff397fb11fac323607ef2e51d81a4ed96c2c50 (patch)
treee87bc9304805023caa719937b2c926ef16c03a30 /py/qstrdefs.h
parent7f70b60f4d05126a838364ee91d288ec8c47d362 (diff)
py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports.
Saves 320 bytes on x86.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index ea107f5f4..b95067bbf 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -205,7 +205,9 @@ Q(exec)
#if MICROPY_PY_BUILTINS_EXECFILE
Q(execfile)
#endif
+#if MICROPY_PY_BUILTINS_FILTER
Q(filter)
+#endif
#if MICROPY_PY_BUILTINS_FLOAT
Q(float)
#endif