summaryrefslogtreecommitdiff
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-18 18:02:58 -0700
committerBenjamin Peterson <benjamin@python.org>2016-09-18 18:02:58 -0700
commit41e35f37edf760898f9c440ac17a4c542c9d88a1 (patch)
treec85a8dcd0b1ee38f9c5bac963eda734354c52d84 /Include/pyport.h
parent9ac11a752a19c3b8607582a3d5ccb615c467124b (diff)
downloadcpython-git-41e35f37edf760898f9c440ac17a4c542c9d88a1.tar.gz
always define HAVE_LONG_LONG (#27961)
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index be1d66d563..421b9549df 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -37,6 +37,9 @@ Used in: Py_SAFE_DOWNCAST
* integral synonyms. Only define the ones we actually need.
*/
+// long long is required now. Define HAVE_LONG_LONG unconditionally for
+// compatibility.
+#define HAVE_LONG_LONG
#ifndef PY_LONG_LONG
#define PY_LONG_LONG long long
/* If LLONG_MAX is defined in limits.h, use that. */