From 4e0eeebdc2b452277c24f554c444f0cc0de9e4ea Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 3 Jul 2014 16:50:11 +0300 Subject: 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. --- unix/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unix') diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 002ea79f9..98132ac6e 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) -- cgit v1.2.3