mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
require standard int types to be defined (#17884)
This commit is contained in:
parent
39093e9e68
commit
4fe55106d1
9 changed files with 15 additions and 401 deletions
|
@ -151,18 +151,9 @@
|
|||
#endif
|
||||
|
||||
|
||||
#if defined(HAVE_UINT32_T) && defined(HAVE_INT32_T)
|
||||
typedef PY_UINT32_T ULong;
|
||||
typedef PY_INT32_T Long;
|
||||
#else
|
||||
#error "Failed to find an exact-width 32-bit integer type"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_UINT64_T)
|
||||
#define ULLong PY_UINT64_T
|
||||
#else
|
||||
#undef ULLong
|
||||
#endif
|
||||
typedef uint32_t ULong;
|
||||
typedef int32_t Long;
|
||||
typedef uint64_t ULLong;
|
||||
|
||||
#undef DEBUG
|
||||
#ifdef Py_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue