Skip to content

Commit

Permalink
patch mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Jul 11, 2024
1 parent b96ffe8 commit 9308cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/p/pdfio/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ package("pdfio")

on_install(function (package)
if package:is_plat("mingw") and package:is_arch("i386") then
io.replace("ttf.c", "typedef __int64 ssize_t;", "", {plain = true})
io.replace("pdfio.h", "typedef __int64 ssize_t;", "", {plain = true})
end

Expand Down

0 comments on commit 9308cef

Please sign in to comment.