mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 07:47:49 +08:00
15 lines
540 B
Diff
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 ;
|