(original) (raw)
changeset: 106005:fad67c66885f branch: 3.6 parent: 106001:52d671684342 user: Victor Stinner victor.stinner@gmail.com date: Thu Jan 05 22:58:53 2017 +0100 files: Include/pyport.h description: 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 -r 52d671684342 -r fad67c66885f Include/pyport.h --- a/Include/pyport.h Wed Jan 04 23:17:47 2017 -0500 +++ b/Include/pyport.h Thu Jan 05 22:58:53 2017 +0100 @@ -39,7 +39,7 @@ // 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 /victor.stinner@gmail.com