summaryrefslogtreecommitdiffstats
path: root/PCbuild/pythoncore.vcxproj
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-22 22:11:48 (GMT)
committerGitHub <noreply@github.com>2022-02-22 22:11:48 (GMT)
commit66b3cd7063322a9f5c922a97bbd06fdb98309999 (patch)
tree47e0543c2349afa7e57b6d167a7763828a714577 /PCbuild/pythoncore.vcxproj
parentb899126094731bc49fecb61f2c1b7557d74ca839 (diff)
downloadcpython-66b3cd7063322a9f5c922a97bbd06fdb98309999.zip
cpython-66b3cd7063322a9f5c922a97bbd06fdb98309999.tar.gz
cpython-66b3cd7063322a9f5c922a97bbd06fdb98309999.tar.bz2
bpo-45459: Rename buffer.h to pybuffer.h (#31201)
Rename Include/buffer.h header file to Include/pybuffer.h to avoid conflicts with projects having an existing "buffer.h" header file. * Incude pybuffer.h before object.h in Python.h. * Remove #include "buffer.h" from Include/cpython/object.h. * Add a forward declaration of the PyObject type in pybuffer.h to fix an inter-dependency issue.
Diffstat (limited to 'PCbuild/pythoncore.vcxproj')
-rw-r--r--PCbuild/pythoncore.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 8f9c4fe..c2f1a01 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -263,6 +263,7 @@
<ClInclude Include="..\Include\osmodule.h" />
<ClInclude Include="..\Include\patchlevel.h" />
<ClInclude Include="..\Include\py_curses.h" />
+ <ClInclude Include="..\Include\pybuffer.h" />
<ClInclude Include="..\Include\pycapsule.h" />
<ClInclude Include="..\Include\pyerrors.h" />
<ClInclude Include="..\Include\pyexpat.h" />