From 22201221cc64029e729236ae7ac9ef1772e2cb01 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 7 Aug 2007 22:02:18 +0000 Subject: [PATCH] Oops. I killed a bit too much and not enough when I deleted intobject.c. --- Makefile.pre.in | 1 - Objects/longobject.c | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 8f06c4e95f5..1ca422a174f 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 36592252f8c..79d734e4f2b 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -7,6 +7,12 @@ #include +long +PyInt_GetMax(void) +{ + return LONG_MAX; /* To initialize sys.maxint */ +} + #ifndef NSMALLPOSINTS #define NSMALLPOSINTS 257 #endif