summaryrefslogtreecommitdiff
path: root/xmake/modules/os/winver.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-06-14 22:46:02 +0800
committerruki <[email protected]>2018-06-14 10:36:18 +0800
commitd37d5fa62c84c1bf1c63b1a71aacbde497493dd6 (patch)
tree9176149aed44e274c129040ba48799dd0846e0f6 /xmake/modules/os/winver.lua
parent5845be83c1cdc063873a652e122862fc4009f349 (diff)
add builtin winver versions
Diffstat (limited to 'xmake/modules/os/winver.lua')
-rw-r--r--xmake/modules/os/winver.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/os/winver.lua b/xmake/modules/os/winver.lua
index 79587c6ed..50763417a 100644
--- a/xmake/modules/os/winver.lua
+++ b/xmake/modules/os/winver.lua
@@ -84,6 +84,11 @@ function ntddi_version(name)
return val
end
+-- get WIN32_WINNT from name
+function winnt_version(name)
+ return ntddi_version(name)
+end
+
-- get windows system version
--
-- $ xmake l os.winver