Skip to content

Commit 985a710

Browse files
authored
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) (#100215)
1 parent d3ea82a commit 985a710

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/compile.c

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
*/
5656
#define STACK_USE_GUIDELINE 30
5757

58+
#undef SUCCESS
59+
#undef ERROR
5860
#define SUCCESS 0
5961
#define ERROR -1
6062

0 commit comments

Comments
 (0)