patch-py_nlr_h 348 B

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