summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c6
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