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 /unix/file.c | |
parent | d0ceb04b90ca7edd7e45b8eff1cdebdfa20a0cf8 (diff) |
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35.
Diffstat (limited to 'unix/file.c')
-rw-r--r-- | unix/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/file.c b/unix/file.c index 7f45ac4a3..386f018bd 100644 --- a/unix/file.c +++ b/unix/file.c @@ -131,7 +131,7 @@ STATIC mp_obj_t fdfile_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const case '+': mode |= O_RDWR; break; - #if MICROPY_MOD_IO_FILEIO + #if MICROPY_PY_IO_FILEIO // If we don't have io.FileIO, then files are in text mode implicitly case 'b': type = &mp_type_fileio; @@ -173,7 +173,7 @@ STATIC const mp_map_elem_t rawfile_locals_dict_table[] = { STATIC MP_DEFINE_CONST_DICT(rawfile_locals_dict, rawfile_locals_dict_table); -#if MICROPY_MOD_IO_FILEIO +#if MICROPY_PY_IO_FILEIO STATIC const mp_stream_p_t fileio_stream_p = { .read = fdfile_read, .write = fdfile_write, |