diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:29:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:29:52 +0100 |
commit | 635b60e299509a85722db77c4409c78ca86dbdc7 (patch) | |
tree | c112d08faa88043084f4d4d19094127b31d4e2c2 /unix | |
parent | 8546ce1e2894f15e9d683ff2294f22c1419cbe78 (diff) | |
download | micropython-635b60e299509a85722db77c4409c78ca86dbdc7.tar.gz micropython-635b60e299509a85722db77c4409c78ca86dbdc7.zip |
unix, stmhal: Add option for STR_UNICODE to mpconfigport.h.
Unicode is disabled by default for now, since FileIO.read(n) is
currently not implemented for text-mode files, and this is an
often function.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 1559bdb359..763b34ba3e 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -41,6 +41,7 @@ #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_STREAMS_NON_BLOCK (1) #define MICROPY_OPT_COMPUTED_GOTO (1) +#define MICROPY_PY_BUILTINS_STR_UNICODE (0) #define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_PLATFORM "linux" |