From ee3fd46f1383e984c968c4a82d634d7b0cea49b8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 24 May 2014 23:03:12 +0100 Subject: Rename configuration variables controling Python features. Now of the form MICROPY_PY_*. See issue #35. --- unix/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unix/file.c') 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, -- cgit v1.2.3