summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-28 10:29:52 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-28 10:29:52 +0100
commit635b60e299509a85722db77c4409c78ca86dbdc7 (patch)
treec112d08faa88043084f4d4d19094127b31d4e2c2 /unix
parent8546ce1e2894f15e9d683ff2294f22c1419cbe78 (diff)
downloadmicropython-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.h1
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"