]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Use CreateFile2 instead of CreateFileW on Win8+ builds
authorSteve Lhomme <robux4@ycbcr.xyz>
Fri, 26 May 2023 07:57:40 +0000 (09:57 +0200)
committerMartin Matuška <martin@matuska.de>
Thu, 13 Jul 2023 22:31:19 +0000 (00:31 +0200)
commit2aa73f8c9486c02a1f3df074788c8d7751b86bc9
treea5616cd4a923716348efe1a45e8a72c991604c74
parentd9a7d055617ebfb156df5bdc0e19d95209bfbc4e
Use CreateFile2 instead of CreateFileW on Win8+ builds

CreateFileW is not allowed in Universal Windows Platform (UWP) builds but
CreateFile2 is available. We could just enable this code for UWP but
it's probably to use it going forward so the code is properly tested on
both sides.
cpio/cpio_windows.c
libarchive/archive_read_disk_windows.c
libarchive/archive_util.c
libarchive/archive_windows.c
libarchive/archive_write_disk_windows.c