summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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