diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-05 21:58:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-05 21:58:53 (GMT) |
commit | a251fb02f4400a2ea32677110e430742fd1444bc (patch) | |
tree | 376e8d362301de6117931ce801fefd4ad3cadf96 | |
parent | e16265d36797d2929e653a7d49b1a53accdbec59 (diff) | |
download | cpython-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.
-rw-r--r-- | Include/pyport.h | 2 |
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 |