summaryrefslogtreecommitdiffstats
path: root/Include/longintrepr.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 18:58:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 18:58:01 (GMT)
commit4fe55106d1bd99015b18118bf1067a1189e070ea (patch)
treef45f9460a346d3f25713d5fc6ccc0fd825521f56 /Include/longintrepr.h
parent39093e9e6836b98dc67979e4e888e4bc639caa07 (diff)
downloadcpython-4fe55106d1bd99015b18118bf1067a1189e070ea.zip
cpython-4fe55106d1bd99015b18118bf1067a1189e070ea.tar.gz
cpython-4fe55106d1bd99015b18118bf1067a1189e070ea.tar.bz2
require standard int types to be defined (#17884)
Diffstat (limited to 'Include/longintrepr.h')
-rw-r--r--Include/longintrepr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h
index bbba4d8..1296849 100644
--- a/Include/longintrepr.h
+++ b/Include/longintrepr.h
@@ -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;