Skip to content

Commit a251fb0

Browse files
committed
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.
1 parent e16265d commit a251fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/pyport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Used in: Py_SAFE_DOWNCAST
3939

4040
// long long is required. Ensure HAVE_LONG_LONG is defined for compatibility.
4141
#ifndef HAVE_LONG_LONG
42-
#define HAVE_LONG_LONG
42+
#define HAVE_LONG_LONG 1
4343
#endif
4444
#ifndef PY_LONG_LONG
4545
#define PY_LONG_LONG long long

0 commit comments

Comments
 (0)