vcpkg/ports/libsndfile/fix-uwp.patch
evpobr d0f5e56832
[libsndfile] Update to 1.1.0 (#23800)
* [libsndfile] Update to 1.1.0

* Update to 1.1.0
* Add `mpeg` and `regtest` features to sync with upstream.

* Add fix for mp3lame

* Stop using deprecated functions

* Update versions

* Update fix

* Update versions

* More fixes

* More updates
2022-04-07 08:05:01 -07:00

15 lines
540 B
Diff

diff --git a/src/file_io.c b/src/file_io.c
index 334ba2a..90c9608 100644
--- a/src/file_io.c
+++ b/src/file_io.c
@@ -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 ;