Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/vcpkg-ports/libsndfile/fix-uwp.patch

15 lines
526 B
Diff
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
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 ;