diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-24 23:03:12 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-24 23:03:12 +0100 |
commit | ee3fd46f1383e984c968c4a82d634d7b0cea49b8 (patch) | |
tree | 76eb38f9015df5d003f646ce019745426365021c /py/objstringio.c | |
parent | d0ceb04b90ca7edd7e45b8eff1cdebdfa20a0cf8 (diff) | |
download | micropython-ee3fd46f1383e984c968c4a82d634d7b0cea49b8.tar.gz micropython-ee3fd46f1383e984c968c4a82d634d7b0cea49b8.zip |
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35.
Diffstat (limited to 'py/objstringio.c')
-rw-r--r-- | py/objstringio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objstringio.c b/py/objstringio.c index a1a765f89c..7a3e0f8939 100644 --- a/py/objstringio.c +++ b/py/objstringio.c @@ -37,7 +37,7 @@ #include "stream.h" #include "objstr.h" -#if MICROPY_ENABLE_MOD_IO +#if MICROPY_PY_IO typedef struct _mp_obj_stringio_t { mp_obj_base_t base; @@ -156,7 +156,7 @@ const mp_obj_type_t mp_type_stringio = { .locals_dict = (mp_obj_t)&stringio_locals_dict, }; -#if MICROPY_IO_BYTESIO +#if MICROPY_PY_IO_BYTESIO const mp_obj_type_t mp_type_bytesio = { { &mp_type_type }, .name = MP_QSTR_BytesIO, |