We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91fbea2 commit a669cbcCopy full SHA for a669cbc
1 file changed
unix/mpconfigport.h
@@ -27,8 +27,8 @@
27
// options to control how Micro Python is built
28
29
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
30
-#ifndef MICROPY_EMIT_X64
31
-#define MICROPY_EMIT_X64 (1)
+#if !defined(MICROPY_EMIT_X64) && defined(__x86_64__)
+ #define MICROPY_EMIT_X64 (1)
32
#endif
33
#define MICROPY_EMIT_THUMB (0)
34
#define MICROPY_EMIT_INLINE_THUMB (0)
@@ -62,7 +62,11 @@
62
// Define to 1 to use untested inefficient GC helper implementation
63
// (if more efficient arch-specific one is not available).
64
#ifndef MICROPY_GCREGS_SETJMP
65
-#define MICROPY_GCREGS_SETJMP (0)
+ #ifdef __mips__
66
+ #define MICROPY_GCREGS_SETJMP (1)
67
+ #else
68
+ #define MICROPY_GCREGS_SETJMP (0)
69
+ #endif
70
71
72
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
0 commit comments