summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-28 10:30:53 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-28 10:30:53 +0100
commitb1b840554d27659f760304713c98f5c7f2d7f74b (patch)
treec112d08faa88043084f4d4d19094127b31d4e2c2 /py/mpconfig.h
parent8993fb6cf0677ce980ab56cbad326e4e6bc47811 (diff)
parent635b60e299509a85722db77c4409c78ca86dbdc7 (diff)
downloadmicropython-b1b840554d27659f760304713c98f5c7f2d7f74b.tar.gz
micropython-b1b840554d27659f760304713c98f5c7f2d7f74b.zip
Merge branch 'unicode'
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 5b27b910e7..0dd84d1f81 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -249,6 +249,11 @@ typedef double mp_float_t;
/*****************************************************************************/
/* Fine control over Python builtins, classes, modules, etc */
+// Whether str object is proper unicode
+#ifndef MICROPY_PY_BUILTINS_STR_UNICODE
+#define MICROPY_PY_BUILTINS_STR_UNICODE (0)
+#endif
+
// Whether to support bytearray object
#ifndef MICROPY_PY_BUILTINS_BYTEARRAY
#define MICROPY_PY_BUILTINS_BYTEARRAY (1)