Auto-update winreg to v6.3.1 (#5637)

* Update winreg to v6.3.1

* fix may_unused

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
autoupdate-libheif-1.19.1
ruki 3 weeks ago committed by GitHub
parent 249154789e
commit f8d712f85d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/w/winreg/xmake.lua

@ -7,11 +7,15 @@ package("winreg")
add_urls("https://github.com/GiovanniDicanio/WinReg/archive/refs/tags/$(version).tar.gz",
"https://github.com/GiovanniDicanio/WinReg.git")
add_versions("v6.3.1", "b92842cc37d3fe1a4d103929480045a40c39ba2efc15d7656f62e189d10d0bc4")
add_versions("v6.3.0", "5a8b47c19ce705172cb1107451acbbb9fa7d8aa1e8f5356a2e682c16cf5532e9")
add_versions("v6.2.0", "9dc1b287fb8c765a35791bf0deea0da81e52a969827bc2d8777f54f26ade588d")
add_versions("v6.1.0", "d4118ccfd4f4edee29e0f6b3706979791ad537278e2f74818c150bb66f8fcc53")
on_install("windows", "mingw", "msys", function (package)
if package:is_plat("mingw") and package:is_arch("i386") then
io.replace("WinReg/WinReg.hpp", "UNREFERENCED_PARAMETER(size);", "(void)size;", {plain = true})
end
os.cp("WinReg/WinReg.hpp", package:installdir("include/WinReg"))
end)

Loading…
Cancel
Save