[minizip] Enable uwp (#31261)

* [minizip] Enable uwp

* Test tools

* baseline

* Add IOWIN32_USING_WINRT_API [skip actions]

* Finish PR
This commit is contained in:
Kai Pastor 2023-05-13 18:46:59 +02:00 committed by GitHub
parent 5fee480e66
commit acf66d284e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 5 deletions

View File

@ -45,6 +45,10 @@ if(ANDROID)
target_compile_definitions(minizip PRIVATE IOAPI_NO_64)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
target_compile_definitions(minizip PRIVATE -DIOWIN32_USING_WINRT_API)
endif()
if(NOT DISABLE_INSTALL_TOOLS)
add_executable(minizip_bin minizip.c)
add_executable(miniunz_bin miniunz.c)

View File

@ -1,11 +1,10 @@
{
"name": "minizip",
"version-semver": "1.2.13",
"port-version": 1,
"port-version": 2,
"description": "Minizip zip file manipulation library",
"homepage": "https://github.com/madler/zlib",
"license": "Zlib",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -949,8 +949,6 @@ minio-cpp:arm-neon-android=fail
miniply:arm-neon-android=fail
miniupnpc:arm-uwp=fail
miniupnpc:x64-uwp=fail
minizip:arm-uwp=fail
minizip:x64-uwp=fail
# Conflicts with signalrclient
microsoft-signalr:arm64-windows=skip
microsoft-signalr:arm-uwp=skip

View File

@ -5238,7 +5238,7 @@
},
"minizip": {
"baseline": "1.2.13",
"port-version": 1
"port-version": 2
},
"minizip-ng": {
"baseline": "3.0.7",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "48d519ab0025623c54756c482453f8405d2646bd",
"version-semver": "1.2.13",
"port-version": 2
},
{
"git-tree": "c8831fffa825d9fafc38f1e3587046c49051ecba",
"version-semver": "1.2.13",