summaryrefslogtreecommitdiff
path: root/py/nlr.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/nlr.c')
-rw-r--r--py/nlr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/nlr.c b/py/nlr.c
index 03d01577e..1bfd9c19b 100644
--- a/py/nlr.c
+++ b/py/nlr.c
@@ -28,7 +28,7 @@
#if !MICROPY_NLR_SETJMP
// When not using setjmp, nlr_push_tail is called from inline asm so needs special care
-#if MICROPY_NLR_X86 && MICROPY_NLR_OS_WINDOWS
+#if defined(MICROPY_NLR_X86) && MICROPY_NLR_X86 && defined(MICROPY_NLR_OS_WINDOWS) && MICROPY_NLR_OS_WINDOWS
// On these 32-bit platforms make sure nlr_push_tail doesn't have a leading underscore
unsigned int nlr_push_tail(nlr_buf_t *nlr) asm("nlr_push_tail");
#else