summaryrefslogtreecommitdiffstatshomepage
path: root/py/nlrthumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/nlrthumb.c')
-rw-r--r--py/nlrthumb.c2
1 files changed, 2 insertions, 0 deletions
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.
//