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
2 changed files with 3 additions and 1 deletions

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