Kaydet (Commit) a251fb02 authored tarafından Victor Stinner's avatar Victor Stinner

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.
üst e16265d3
...@@ -39,7 +39,7 @@ Used in: Py_SAFE_DOWNCAST ...@@ -39,7 +39,7 @@ Used in: Py_SAFE_DOWNCAST
// long long is required. Ensure HAVE_LONG_LONG is defined for compatibility. // long long is required. Ensure HAVE_LONG_LONG is defined for compatibility.
#ifndef HAVE_LONG_LONG #ifndef HAVE_LONG_LONG
#define HAVE_LONG_LONG #define HAVE_LONG_LONG 1
#endif #endif
#ifndef PY_LONG_LONG #ifndef PY_LONG_LONG
#define PY_LONG_LONG long long #define PY_LONG_LONG long long
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment