From a903bf83153ae30cb713479673df9a9785211330 Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Tue, 13 Dec 2022 10:37:39 +0000 Subject: [PATCH] gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) --- Python/compile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/compile.c b/Python/compile.c index 17b164a4d06ef5..813e0d5503b4b0 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -55,6 +55,8 @@ */ #define STACK_USE_GUIDELINE 30 +#undef SUCCESS +#undef ERROR #define SUCCESS 0 #define ERROR -1