diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-05 22:58:53 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-05 22:58:53 +0100 |
commit | a251fb02f4400a2ea32677110e430742fd1444bc (patch) | |
tree | 376e8d362301de6117931ce801fefd4ad3cadf96 | |
parent | e16265d36797d2929e653a7d49b1a53accdbec59 (diff) | |
download | cpython-git-a251fb02f4400a2ea32677110e430742fd1444bc.tar.gz |
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 28bf4b2148..52a91a0d11 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 |