summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-03-31 23:36:27 +0800
committerruki <[email protected]>2025-03-31 23:36:27 +0800
commit675aa505cebb95578a3bed3bd76b354ebe96b5e6 (patch)
tree4db07fdd2f8fc8090184d79e78c59e7b80f1dae7
parent68b8c991ed3af64365b1129c755fe31f78c7c074 (diff)
revert check_macros
-rw-r--r--xmake/includes/check/check_macros.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/includes/check/check_macros.lua b/xmake/includes/check/check_macros.lua
index 505377684..2235798ec 100644
--- a/xmake/includes/check/check_macros.lua
+++ b/xmake/includes/check/check_macros.lua
@@ -55,6 +55,7 @@ function check_macros(definition, macros, opt)
else
add_csnippets(definition, table.concat(snippets, "\n"))
end
+ add_defines(definition)
if opt.languages then
set_languages(opt.languages)
end