8000 Fix a preprocessor condition. · python/cpython@fdc82d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fdc82d2

Browse files
Fix a preprocessor condition.
1 parent 11a9311 commit fdc82d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_tuple.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern void _PyTuple_Fini(PyInterpreterState *);
2323
// PyTuple_MAXSAVESIZE - largest tuple to save on free list
2424
// PyTuple_MAXFREELIST - maximum number of tuples of each size to save
2525

26-
#if PyTuple_MAXSAVESIZE <= 0
26+
#if defined(PyTuple_MAXSAVESIZE) && PyTuple_MAXSAVESIZE <= 0
2727
// A build indicated that tuple freelists should not be used.
2828
# define PyTuple_NFREELISTS 0
2929
# undef PyTuple_MAXSAVESIZE

0 commit comments

Comments
 (0)
0