diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-07-12 14:13:51 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-07-12 14:13:51 -0400 |
| commit | 0d27f4d9a66dcb47b545e715d1833094b0c7b484 (patch) | |
| tree | 14c17d103d0dfddae7f031aa4fdb004c5ebca2e1 /py/nlr.h | |
| parent | 7c219600a246d8956d0b23ea3f5d125a820e6b6a (diff) | |
continued WIP: almost compiling
Diffstat (limited to 'py/nlr.h')
| -rw-r--r-- | py/nlr.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,7 +35,8 @@ #include "py/mpconfig.h" // If MICROPY_NLR_SETJMP is not enabled then auto-detect the machine arch -#if !MICROPY_NLR_SETJMP +#if !defined(MICROPY_NLR_SETJMP) || !MICROPY_NLR_SETJMP +#define MICROPY_NLR_SETJMP (0) // A lot of nlr-related things need different treatment on Windows #if defined(_WIN32) || defined(__CYGWIN__) #define MICROPY_NLR_OS_WINDOWS 1 |
