diff options
author | Dave Hylands <dhylands@gmail.com> | 2016-07-13 09:36:55 -0700 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-21 00:54:21 +0300 |
commit | 26b7d8a7be48211557cf009f3f792d926d03cdf2 (patch) | |
tree | 20b83000ef3c1b16fc814747c688a31059e49ee1 /py/nlrthumb.c | |
parent | 43963a8d978c57919c307b2f8aef94c489b0fb25 (diff) | |
download | micropython-26b7d8a7be48211557cf009f3f792d926d03cdf2.tar.gz micropython-26b7d8a7be48211557cf009f3f792d926d03cdf2.zip |
py: Fix nlrthumb.c when DEBUG=1 is defined
Diffstat (limited to 'py/nlrthumb.c')
-rw-r--r-- | py/nlrthumb.c | 2 |
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. // |