fix-uwp.patch 526 B

1234567891011121314
  1. diff --git a/src/file_io.c b/src/file_io.c
  2. index 334ba2a..90c9608 100644
  3. --- a/src/file_io.c
  4. +++ b/src/file_io.c
  5. @@ -827,9 +827,6 @@ psf_open_handle (PSF_FILE * pfile)
  6. } ;
  7. #if defined (WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
  8. - if (!pfile->use_wchar)
  9. - return INVALID_HANDLE_VALUE ;
  10. -
  11. CREATEFILE2_EXTENDED_PARAMETERS cfParams = { 0 } ;
  12. cfParams.dwSize = sizeof (CREATEFILE2_EXTENDED_PARAMETERS) ;
  13. cfParams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL ;