From a47b64ae2dd81e45da082c6337aaf5fcef4da75c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 15 May 2014 07:28:19 +0300 Subject: objstringio: Implement io.BytesIO. Done in generalized manner, allowing any stream class to be specified as working with bytes. --- py/mpconfig.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'py/mpconfig.h') diff --git a/py/mpconfig.h b/py/mpconfig.h index 76cd1091c..53429f1c1 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -225,6 +225,10 @@ typedef double mp_float_t; #define MICROPY_ENABLE_MOD_IO (1) #endif +#ifndef MICROPY_IO_BYTESIO +#define MICROPY_IO_BYTESIO (1) +#endif + // Whether to provide "struct" module #ifndef MICROPY_ENABLE_MOD_STRUCT #define MICROPY_ENABLE_MOD_STRUCT (1) -- cgit v1.2.3