Skip to content

Commit 17a4943

Browse files
committed
unix: Allow to override MICROPY_GCREGS_SETJMP from cmdline.
1 parent 7cd46a1 commit 17a4943

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

unix/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
5454
// Define to 1 to use untested inefficient GC helper implementation
5555
// (if more efficient arch-specific one is not available).
56+
#ifndef MICROPY_GCREGS_SETJMP
5657
#define MICROPY_GCREGS_SETJMP (0)
58+
#endif
5759

5860
extern const struct _mp_obj_module_t mp_module_os;
5961
extern const struct _mp_obj_module_t mp_module_time;

0 commit comments

Comments
 (0)