minimal/main: Allow to compile without GC enabled.

This commit is contained in:
Daniel Shaulov 2018-05-20 21:05:12 +03:00 committed by Damien George
parent 1ad0013dec
commit cac2eddc16

View File

@ -27,7 +27,9 @@ void do_str(const char *src, mp_parse_input_kind_t input_kind) {
#endif
static char *stack_top;
#if MICROPY_ENABLE_GC
static char heap[2048];
#endif
int main(int argc, char **argv) {
int stack_dummy;