[Python-checkins] cpython (3.6): Issue #27961: Define HAVE_LONG_LONG as 1.

victor.stinner python-checkins at python.org
Thu Jan 5 16:59:29 EST 2017


https://hg.python.org/cpython/rev/fad67c66885f
changeset:   106005:fad67c66885f
branch:      3.6
parent:      106001:52d671684342
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jan 05 22:58:53 2017 +0100
summary:
  Issue #27961: Define HAVE_LONG_LONG as 1.

Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas
it is defined as 1 in Python 3.5.

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


diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -39,7 +39,7 @@
 
 // long long is required. Ensure HAVE_LONG_LONG is defined for compatibility.
 #ifndef HAVE_LONG_LONG
-#define HAVE_LONG_LONG
+#define HAVE_LONG_LONG 1
 #endif
 #ifndef PY_LONG_LONG
 #define PY_LONG_LONG long long

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


More information about the Python-checkins mailing list