summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-26 14:41:59 +0800
committerruki <[email protected]>2017-04-26 14:41:59 +0800
commit6346af0f672353eedc5c3a6efe4ed3d5a0a52e5a (patch)
treec533a03262179392ee8d10f9ec83964812a55d71 /xmake/core/sandbox/modules/os.lua
parent38a85e0cfac525962e347174fb16080fc447664c (diff)
fix os.host and add is_host
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
-rw-r--r--xmake/core/sandbox/modules/os.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua
index b0c7741b9..4fbc1740b 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -397,22 +397,16 @@ end
-- get the system host
function sandbox_os.host()
-
- -- get it
return xmake._HOST
end
-- get the system architecture
function sandbox_os.arch()
-
- -- get it
return xmake._ARCH
end
-- get the system null device
function sandbox_os.nuldev()
-
- -- get it
return xmake._NULDEV
end