bpo-46217: Revert use of Windows constant that is newer than what we support (GH-30473)

This commit is contained in:
Steve Dower 2022-01-08 00:06:53 +00:00 committed by GitHub
parent c9dc1f491e
commit d81182b8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -2129,7 +2129,7 @@ join_relfile(wchar_t *buffer, size_t bufsize,
{
#ifdef MS_WINDOWS
if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
PATHCCH_ALLOW_LONG_PATHS | PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS))) {
PATHCCH_ALLOW_LONG_PATHS))) {
return -1;
}
#else