pineapple-src/externals/vcpkg/ports/libsndfile/fix-uwp.patch

15 lines
540 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04: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 ;