summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-06 23:53:03 +0800
committerruki <[email protected]>2024-05-06 23:53:03 +0800
commit3fc1f39c3ff59e03b10348191880ee98fcdc5041 (patch)
tree68ad66428daec3ac602557e531fd495789cfe9b3 /xmake/modules
parent88a2d47f20a5e97e331f290d08cd3736b4bf8744 (diff)
fix check_bigendian
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/lib/detect/check_bigendian.lua2
1 files changed, 1 insertions, 1 deletions
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