diff options
-rw-r--r-- | Makefile.pre.in | 1 | ||||
-rw-r--r-- | Objects/longobject.c | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 8f06c4e..1ca422a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -296,7 +296,6 @@ OBJECT_OBJS= \ Objects/floatobject.o \ Objects/frameobject.o \ Objects/funcobject.o \ - Objects/intobject.o \ Objects/iterobject.o \ Objects/listobject.o \ Objects/longobject.o \ 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 |