From 3fc1f39c3ff59e03b10348191880ee98fcdc5041 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 6 May 2024 23:53:03 +0800 Subject: fix check_bigendian --- xmake/modules/lib/detect/check_bigendian.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/lib/detect/check_bigendian.lua b/xmake/modules/lib/detect/check_bigendian.lua index 13b0f96b1..fff3efb52 100644 --- a/xmake/modules/lib/detect/check_bigendian.lua +++ b/xmake/modules/lib/detect/check_bigendian.lua @@ -61,7 +61,7 @@ end -- local is_bigendian = check_bigendian() -- @endcode -- -function main(typename, opt) +function main(opt) local snippets = check_bigendian_template local ok, is_bigendian = check_cxxsnippets(snippets, table.join(table.wrap(opt), {binary_match = _byteorder_binary_match})) if ok then -- cgit v1.3.1