mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 16:07:50 +08:00
14 lines
300 B
Diff
14 lines
300 B
Diff
|
diff --git a/src/file_io.c b/src/file_io.c
|
||
|
index 47351bc..54741c9 100644
|
||
|
--- a/src/file_io.c
|
||
|
+++ b/src/file_io.c
|
||
|
@@ -799,6 +799,8 @@ psf_open_handle (PSF_FILE * pfile)
|
||
|
|
||
|
if (handle == INVALID_HANDLE_VALUE)
|
||
|
return NULL;
|
||
|
+
|
||
|
+ return handle;
|
||
|
#else
|
||
|
if (pfile->use_wchar)
|
||
|
handle = CreateFileW (
|