diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-07-03 16:50:11 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-07-03 18:09:36 +0300 |
commit | 4e0eeebdc2b452277c24f554c444f0cc0de9e4ea (patch) | |
tree | 6cda2dd6ff6fe129338c8980b045dbde1ba16645 /unix | |
parent | 381618269a9eb3e49d0e42d389d2dec312907577 (diff) | |
download | micropython-4e0eeebdc2b452277c24f554c444f0cc0de9e4ea.tar.gz micropython-4e0eeebdc2b452277c24f554c444f0cc0de9e4ea.zip |
py: Implement sys.maxsize, standard way to check platform "bitness".
Implementing it as a static constant is a bit peculiar and require cooperation
from long int implementation.
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 002ea79f94..98132ac6e7 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -45,6 +45,7 @@ #define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_PLATFORM "linux" +#define MICROPY_PY_SYS_MAXSIZE (1) #define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_CMATH (1) #define MICROPY_PY_IO_FILEIO (1) |