diff options
author | Nicholas Sim <nsim+github@posteo.net> | 2021-02-16 12:04:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 12:04:38 (GMT) |
commit | 17dbd4078b68db8954df6b5cdc40b786bc4ad7af (patch) | |
tree | e48e54740a78deac7d08fb72ad2a1fb15fce8cc1 /PCbuild | |
parent | 871eb4237b9be95263ca13ba8856e78344eb9eba (diff) | |
download | cpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.zip cpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.tar.gz cpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.tar.bz2 |
bpo-35134, Include: Move pytime.h to cpython/pytime.h (GH-23988)
This change is backward compatible since C extension modules
must not include "pytime.h" directly, but only include "Python.h".
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 2 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index f172f2a..711a68f 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -147,6 +147,7 @@ <ClInclude Include="..\Include\cpython\pymem.h" /> <ClInclude Include="..\Include\cpython\pystate.h" /> <ClInclude Include="..\Include\cpython\pythonrun.h" /> + <ClInclude Include="..\Include\cpython\pytime.h" /> <ClInclude Include="..\Include\cpython\sysmodule.h" /> <ClInclude Include="..\Include\cpython\traceback.h" /> <ClInclude Include="..\Include\cpython\tupleobject.h" /> @@ -245,7 +246,6 @@ <ClInclude Include="..\Include\pystrtod.h" /> <ClInclude Include="..\Include\pythonrun.h" /> <ClInclude Include="..\Include\pythread.h" /> - <ClInclude Include="..\Include\pytime.h" /> <ClInclude Include="..\Include\rangeobject.h" /> <ClInclude Include="..\Include\setobject.h" /> <ClInclude Include="..\Include\sliceobject.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index 3bafdb8..ab82642 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -204,9 +204,6 @@ <ClInclude Include="..\Include\pymath.h"> <Filter>Include</Filter> </ClInclude> - <ClInclude Include="..\Include\pytime.h"> - <Filter>Include</Filter> - </ClInclude> <ClInclude Include="..\Include\pymacro.h"> <Filter>Include</Filter> </ClInclude> @@ -450,6 +447,9 @@ <ClInclude Include="..\Include\cpython\pylifecycle.h"> <Filter>Include\cpython</Filter> </ClInclude> + <ClInclude Include="..\Include\cpython\pytime.h"> + <Filter>Include\cpython</Filter> + </ClInclude> <ClInclude Include="..\Include\cpython\tupleobject.h"> <Filter>Include\cpython</Filter> </ClInclude> |