Fix build on UWP platform, closes #824

This commit is contained in:
evpobr 2022-04-03 12:11:11 +05:00
parent 269ae40a3b
commit fc298c9d93
2 changed files with 1 additions and 3 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Searching for LAME dependency with CMake build system (issue #821).
* CMake build from Autotools tarball (issue #816).
* Build on UWP platform (isse #824).
## [1.1.0] - 2022-03-27

View File

@ -827,9 +827,6 @@ psf_open_handle (PSF_FILE * pfile)
} ;
#if defined (WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
if (!pfile->use_wchar)
return INVALID_HANDLE_VALUE ;
CREATEFILE2_EXTENDED_PARAMETERS cfParams = { 0 } ;
cfParams.dwSize = sizeof (CREATEFILE2_EXTENDED_PARAMETERS) ;
cfParams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL ;