From 26b7d8a7be48211557cf009f3f792d926d03cdf2 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Wed, 13 Jul 2016 09:36:55 -0700 Subject: [PATCH] py: Fix nlrthumb.c when DEBUG=1 is defined --- py/nlrthumb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py/nlrthumb.c b/py/nlrthumb.c index b57d8df464..08a71ac7d6 100644 --- a/py/nlrthumb.c +++ b/py/nlrthumb.c @@ -29,6 +29,8 @@ #if (!defined(MICROPY_NLR_SETJMP) || !MICROPY_NLR_SETJMP) && (defined(__thumb2__) || defined(__thumb__) || defined(__arm__)) +#undef nlr_push + // We only need the functions here if we are on arm/thumb, and we are not // using setjmp/longjmp. //