This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/os.is64bit.md

31 lines
384 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Determines if the host is using a 64-bit processor.
```lua
os.is64bit()
```
### Parameters ###
None.
### Return Value ###
**True** if the host system has a 64-bit processor, **false** otherwise.
### Availability ###
Premake 4.4 or later.
### Examples ###
```lua
if os.is64bit() then
print("This is a 64-bit system")
else
print("This is NOT a 64-bit system")
end
```