mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -42,10 +42,6 @@ extern "C" {
|
|||
*/
|
||||
|
||||
#if PYLONG_BITS_IN_DIGIT == 30
|
||||
#if !(defined HAVE_UINT64_T && defined HAVE_UINT32_T && \
|
||||
defined HAVE_INT64_T && defined HAVE_INT32_T)
|
||||
#error "30-bit long digits requested, but the necessary types are not available on this platform"
|
||||
#endif
|
||||
typedef PY_UINT32_T digit;
|
||||
typedef PY_INT32_T sdigit; /* signed variant of digit */
|
||||
typedef PY_UINT64_T twodigits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue