Commit 567ae36
fix: remove Py_single_input macro redefinition in PyMethodBase.h
Remove the `#define Py_single_input 256` from the public header to
avoid a `-Wmacro-redefined` warning when CPython's compile.h is
included after the precompiled header already defines the macro.
The default argument now uses the literal value with a comment.1 parent 77eb974 commit 567ae36
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
114 | | - | |
| 113 | + | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
0 commit comments