From 052d02159bf37591b6e79bf9901f67ad8965314f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 11 Oct 2023 14:29:58 +0200 Subject: [PATCH] Windows build needs #undef Py_BUILD_CORE --- Modules/_stat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/_stat.c b/Modules/_stat.c index c06f6c6c0db5d38..34166c02dfdfd82 100644 --- a/Modules/_stat.c +++ b/Modules/_stat.c @@ -11,6 +11,7 @@ * */ +#undef Py_BUILD_CORE #undef Py_BUILD_CORE_MODULE #undef Py_BUILD_CORE_BUILTIN