commit | 22201221cc64029e729236ae7ac9ef1772e2cb01 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Aug 07 22:02:18 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Aug 07 22:02:18 2007 +0000 |
tree | fddc5f881935264e9aea56ff90227c0a6cd76ec6 | |
parent | c77e24b233c0b1b06de077a252b78cfdc5d7df18 [diff] [blame] |
Oops. I killed a bit too much and not enough when I deleted intobject.c.
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