diff options
| author | Paul Sokolovsky | 2014-05-07 02:23:46 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-05-07 02:25:45 +0300 |
| commit | 0ef015b2533f7faeede18382c1d1f4eac919244b (patch) | |
| tree | aac00b410837ccdd3d1b59284cdac5b423767c8e /unix | |
| parent | 6c62e7257f8dec7f20a1ace42f0ae5fa4320ad06 (diff) | |
stream: Make non-blcoking stream support configurable.
Enable only on unix. To avoid unpleasant surprises with error codes.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index b15fa6304..41bc6a393 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -39,6 +39,7 @@ #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_PATH_MAX (PATH_MAX) +#define MICROPY_STREAMS_NON_BLOCK (1) #define MICROPY_USE_COMPUTED_GOTO (1) #define MICROPY_MOD_SYS_STDFILES (1) #define MICROPY_ENABLE_MOD_CMATH (1) |
