Skip to content

Commit e506e26

Browse files
committed
Enable MICROPY_PY_BUILTINS_STR_SJIS for x68k
1 parent af7ebf0 commit e506e26

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ports/x68k/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959

6060
#define MICROPY_PY_ASYNC_AWAIT (0)
6161
#define MICROPY_PY_BUILTINS_SET (0)
62+
#define MICROPY_PY_BUILTINS_STR_UNICODE (0)
63+
#define MICROPY_PY_BUILTINS_STR_SJIS (1)
64+
#define MICROPY_PY_BUILTINS_STR_SJIS_CHECK (1)
6265
#define MICROPY_PY_ATTRTUPLE (1)
6366
#define MICROPY_PY_COLLECTIONS (0)
6467
#define MICROPY_PY_MATH (1)

ports/x68k/mpycross/mpconfigport.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@
7575
#define MICROPY_USE_INTERNAL_PRINTF (0)
7676

7777
#define MICROPY_PY_FSTRINGS (1)
78-
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
78+
#define MICROPY_PY_BUILTINS_STR_UNICODE (0)
79+
#define MICROPY_PY_BUILTINS_STR_SJIS (1)
80+
#define MICROPY_PY_BUILTINS_STR_SJIS_CHECK (1)
7981

8082
#if !(defined(MICROPY_GCREGS_SETJMP) || defined(__x86_64__) || defined(__i386__) || defined(__thumb2__) || defined(__thumb__) || defined(__arm__))
8183
// Fall back to setjmp() implementation for discovery of GC pointers in registers.

0 commit comments

Comments
 (0)