]> granicus.if.org Git - python/commitdiff
Oops. I killed a bit too much and not enough when I deleted intobject.c.
authorGuido van Rossum <guido@python.org>
Tue, 7 Aug 2007 22:02:18 +0000 (22:02 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Aug 2007 22:02:18 +0000 (22:02 +0000)
Makefile.pre.in
Objects/longobject.c

index 8f06c4e95f55a6be976f1b64530863fffded33b6..1ca422a174f1be4be3715b8194c3396e8ed618b2 100644 (file)
@@ -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 \
index 36592252f8c2e8c66cdd055692031fe290e64709..79d734e4f2b8920994271aa26f10e65acdcf7121 100644 (file)
@@ -7,6 +7,12 @@
 
 #include <ctype.h>
 
+long
+PyInt_GetMax(void)
+{
+       return LONG_MAX;        /* To initialize sys.maxint */
+}
+
 #ifndef NSMALLPOSINTS
 #define NSMALLPOSINTS          257
 #endif