require standard int types to be defined (#17884)

This commit is contained in:
Benjamin Peterson 2016-09-06 11:58:01 -07:00
parent 39093e9e68
commit 4fe55106d1
9 changed files with 15 additions and 401 deletions

View file

@ -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;