unix/main: Allow to build with MICROPY_DEBUG_PRINTERS == 0.
@@ -695,7 +695,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
MP_STATE_THREAD(prof_trace_callback) = MP_OBJ_NULL;
#endif
- #if MICROPY_PY_MICROPYTHON_MEM_INFO
+ #if MICROPY_DEBUG_PRINTERS && MICROPY_PY_MICROPYTHON_MEM_INFO
if (mp_verbose_flag) {
mp_micropython_mem_info(0, NULL);
}
