diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:30:53 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:30:53 +0100 |
commit | b1b840554d27659f760304713c98f5c7f2d7f74b (patch) | |
tree | c112d08faa88043084f4d4d19094127b31d4e2c2 /py/mpconfig.h | |
parent | 8993fb6cf0677ce980ab56cbad326e4e6bc47811 (diff) | |
parent | 635b60e299509a85722db77c4409c78ca86dbdc7 (diff) | |
download | micropython-b1b840554d27659f760304713c98f5c7f2d7f74b.tar.gz micropython-b1b840554d27659f760304713c98f5c7f2d7f74b.zip |
Merge branch 'unicode'
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
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) |