Index: py/nlr.h --- py/nlr.h.orig +++ py/nlr.h @@ -46,6 +46,10 @@ // *FORMAT-OFF* +#if defined(__OpenBSD__) && !defined(__aarch64__) +#define MICROPY_NLR_SETJMP (1) +#endif + // If MICROPY_NLR_SETJMP is not enabled then auto-detect the machine arch #if !MICROPY_NLR_SETJMP // A lot of nlr-related things need different treatment on Windows