From 107c9fb235150d4f18309fb3ca61411e045ae669 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 26 Apr 2014 10:31:15 +0100 Subject: py: Make collections module configurable, enabled by default. --- py/mpconfig.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'py/mpconfig.h') diff --git a/py/mpconfig.h b/py/mpconfig.h index b669128ea..13918e839 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -115,6 +115,11 @@ typedef double mp_float_t; #define MICROPY_ENABLE_FLOAT (0) #endif +// Whether to provide "collections" module +#ifndef MICROPY_ENABLE_MOD_COLLECTIONS +#define MICROPY_ENABLE_MOD_COLLECTIONS (1) +#endif + // Whether to provide "math" module #ifndef MICROPY_ENABLE_MOD_MATH #define MICROPY_ENABLE_MOD_MATH (1) -- cgit v1.2.3