summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-05 21:58:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-05 21:58:53 (GMT)
commita251fb02f4400a2ea32677110e430742fd1444bc (patch)
tree376e8d362301de6117931ce801fefd4ad3cadf96 /Include/pyport.h
parente16265d36797d2929e653a7d49b1a53accdbec59 (diff)
downloadcpython-a251fb02f4400a2ea32677110e430742fd1444bc.zip
cpython-a251fb02f4400a2ea32677110e430742fd1444bc.tar.gz
cpython-a251fb02f4400a2ea32677110e430742fd1444bc.tar.bz2
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.
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 28bf4b2..52a91a0 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -39,7 +39,7 @@ Used in: Py_SAFE_DOWNCAST
// 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