From: Victor Stinner Date: Thu, 5 Jan 2017 21:58:53 +0000 (+0100) Subject: Issue #27961: Define HAVE_LONG_LONG as 1. X-Git-Tag: v3.6.1rc1~208 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a251fb02f4400a2ea32677110e430742fd1444bc;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Include/pyport.h b/Include/pyport.h index 28bf4b214851..52a91a0d11d0 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