gh-141341: Rename COMPILER macro to _Py_COMPILER on Windows (#141342)

This commit is contained in:
Victor Stinner 2025-11-10 15:50:51 +01:00 committed by GitHub
parent 06b62282c7
commit 68266c1f01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 14 deletions

View file

@ -3,6 +3,10 @@
#include "Python.h"
#ifdef _Py_COMPILER
# define COMPILER _Py_COMPILER
#endif
#ifndef COMPILER
// Note the __clang__ conditional has to come before the __GNUC__ one because