summaryrefslogtreecommitdiffstatshomepage
path: root/py/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/map.c')
-rw-r--r--py/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/map.c b/py/map.c
index 906a1611f0..fb0c5a0795 100644
--- a/py/map.c
+++ b/py/map.c
@@ -358,7 +358,7 @@ void mp_set_clear(mp_set_t *set) {
set->table = NULL;
}
-#if DEBUG_PRINT
+#if defined(DEBUG_PRINT) && DEBUG_PRINT
void mp_map_dump(mp_map_t *map) {
for (mp_uint_t i = 0; i < map->alloc; i++) {
if (map->table[i].key != NULL) {