mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Changes for long file support by Steve Clift.
(Really: moved a bunch of defs to longobject.h.)
This commit is contained in:
parent
763737be52
commit
cdd9ae00ba
1 changed files with 0 additions and 18 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue