diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 3659225..79d734e 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -7,6 +7,12 @@ #include <ctype.h> +long +PyInt_GetMax(void) +{ + return LONG_MAX; /* To initialize sys.maxint */ +} + #ifndef NSMALLPOSINTS #define NSMALLPOSINTS 257 #endif |