]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27961: Define HAVE_LONG_LONG as 1.
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 5 Jan 2017 21:58:53 +0000 (22:58 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 5 Jan 2017 21:58:53 +0000 (22:58 +0100)
Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas
it is defined as 1 in Python 3.5.

Include/pyport.h

index 28bf4b214851c2150f3b2ccb515200e3fbfaeb83..52a91a0d11d0568c505d57509b2d43cb03892897 100644 (file)
@@ -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