mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
Fix build on UWP platform, closes #824
This commit is contained in:
parent
269ae40a3b
commit
fc298c9d93
@ -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
|
||||
|
||||
|
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user