summaryrefslogtreecommitdiff
path: root/xmake/includes/check_cincludes.lua
diff options
context:
space:
mode:
authorxq114 <[email protected]>2021-09-24 12:10:59 +0800
committerxq114 <[email protected]>2021-09-24 12:10:59 +0800
commit113108b4a6cbda7211d42a133b29eb90f688bc8e (patch)
tree4db8c5d1c59d20f6c2134cc4ef2e2285508b1ebf /xmake/includes/check_cincludes.lua
parentef34aa0c7f5a9996ff9c3863556b426a4f1f4da5 (diff)
improve comments
Diffstat (limited to 'xmake/includes/check_cincludes.lua')
-rw-r--r--xmake/includes/check_cincludes.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/includes/check_cincludes.lua b/xmake/includes/check_cincludes.lua
index ced7c33a5..f9d69aad5 100644
--- a/xmake/includes/check_cincludes.lua
+++ b/xmake/includes/check_cincludes.lua
@@ -43,6 +43,7 @@ end
-- e.g.
--
-- configvar_check_cincludes("HAS_STRING_H", "string.h")
+-- configvar_check_cincludes("HAS_STRING_H", "string.h", {default = 0})
-- configvar_check_cincludes("HAS_STRING_AND_STDIO_H", {"string.h", "stdio.h"})
--
function configvar_check_cincludes(definition, includes, opt)