summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-06 18:50:37 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-06 18:50:37 (GMT)
commitcdd9ae00ba9346c3f8e2c6c5ba28eb25f4ab86f4 (patch)
tree593540e37e32a0002cd794dd56573fcff78b9a9b /Objects/longobject.c
parent763737be528ed41d62d056afe616435b83622418 (diff)
downloadcpython-cdd9ae00ba9346c3f8e2c6c5ba28eb25f4ab86f4.zip
cpython-cdd9ae00ba9346c3f8e2c6c5ba28eb25f4ab86f4.tar.gz
cpython-cdd9ae00ba9346c3f8e2c6c5ba28eb25f4ab86f4.tar.bz2
Changes for long file support by Steve Clift.
(Really: moved a bunch of defs to longobject.h.)
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index db6942b..834b8a8 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -340,24 +340,6 @@ PyLong_AsVoidPtr(vv)
* here.
*/
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-
-/* Hopefully this is portable... */
-#ifndef LONG_MAX
-#define LONG_MAX 2147483647L
-#endif
-#ifndef ULONG_MAX
-#define ULONG_MAX 4294967295U
-#endif
-#ifndef LONGLONG_MAX
-#define LONGLONG_MAX 9223372036854775807LL
-#endif
-#ifndef ULONGLONG_MAX
-#define ULONGLONG_MAX 0xffffffffffffffffULL
-#endif
-
/* Create a new long int object from a C LONG_LONG int */
PyObject *