mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
bpo-46217: Revert use of Windows constant that is newer than what we support (GH-30473)
This commit is contained in:
parent
c9dc1f491e
commit
d81182b8ec
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
Removed parameter that is unsupported on Windows 8.1 and early Windows 10
|
||||||
|
and may have caused build or runtime failures.
|
|
@ -2129,7 +2129,7 @@ join_relfile(wchar_t *buffer, size_t bufsize,
|
||||||
{
|
{
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
|
if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
|
||||||
PATHCCH_ALLOW_LONG_PATHS | PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS))) {
|
PATHCCH_ALLOW_LONG_PATHS))) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue