Skip to content

Commit

Permalink
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer …
Browse files Browse the repository at this point in the history
…warning) (#100215)
  • Loading branch information
iritkatriel committed Dec 13, 2022
1 parent d3ea82a commit 985a710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
*/
#define STACK_USE_GUIDELINE 30

#undef SUCCESS
#undef ERROR
#define SUCCESS 0
#define ERROR -1

Expand Down

0 comments on commit 985a710

Please sign in to comment.