[Python-checkins] cpython (3.6): always define HAVE_LONG_LONG (#27961)

benjamin.peterson python-checkins at python.org
Sun Sep 18 21:03:13 EDT 2016


https://hg.python.org/cpython/rev/cf6e9968ebb7
changeset:   103934:cf6e9968ebb7
branch:      3.6
parent:      103932:bdbe09afcd20
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Sep 18 18:02:58 2016 -0700
summary:
  always define HAVE_LONG_LONG (#27961)

files:
  Include/pyport.h |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -37,6 +37,9 @@
  * 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. */

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list