Skip to content

Commit 22d1a6b

Browse files
committed
Don't redefine PY_VERSION
It's only needed in the Python script. Python.h defines PY_VERSION (via patchlevel.h).
1 parent 7882331 commit 22d1a6b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎Tools/build/generate_getbuildinfo.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def write_macro(name, value):
112112
write_macro('TIME', TIME)
113113
write_macro('COMPILER', COMPILER)
114114
print(file=fp)
115-
write_macro('PY_VERSION', PY_VERSION)
116115
write_macro('PLATFORM', PLATFORM)
117116
print(file=fp)
118117
write_macro('GITBRANCH', GITBRANCH)

0 commit comments

Comments
 (0)