Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Aug 28, 2024
1 parent 2c6dee4 commit 5c92156
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/r/raw_pdb/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ package("raw_pdb")
end)

on_test(function (package)
assert(package:has_cxxfuncs("PDB::ValidateFile(0)", {includes = "PDB.h"}))
if package:version():ge("2024.08.27") then
assert(package:has_cxxfuncs("PDB::ValidateFile(0, 0)", {includes = "raw_pdb/PDB.h"}))
else
assert(package:has_cxxfuncs("PDB::ValidateFile(0)", {includes = "PDB.h"}))
end
end)

0 comments on commit 5c92156

Please sign in to comment.