diff options
Diffstat (limited to 'tex/context/base/l-os.lua')
-rw-r--r-- | tex/context/base/l-os.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/l-os.lua b/tex/context/base/l-os.lua index 7f3fd7caf..44e0f53e1 100644 --- a/tex/context/base/l-os.lua +++ b/tex/context/base/l-os.lua @@ -222,6 +222,8 @@ local function guess() return os.resultof("echo $HOSTTYPE") or "" end +-- os.bits = 32 | 64 + if platform ~= "" then os.platform = platform @@ -230,6 +232,9 @@ elseif os.type == "windows" then -- we could set the variable directly, no function needed here + -- PROCESSOR_ARCHITECTURE : binary platform + -- PROCESSOR_ARCHITEW6432 : OS platform + function os.resolvers.platform(t,k) local platform, architecture = "", os.getenv("PROCESSOR_ARCHITECTURE") or "" if find(architecture,"AMD64") then |