mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141341: Rename COMPILER macro to _Py_COMPILER on Windows (#141342)
This commit is contained in:
parent
06b62282c7
commit
68266c1f01
3 changed files with 20 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue