mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Zig calls it aarch64. Linux calls it arm64. Currently lib/libc/include has both arm64 and aarch64, which is quite confusing. tools/update-linux-headers.zig was executed against the latest stable linux patch version, therefore some other minor header updates. I will update the wiki on how to do it once this PR is accepted.
5 lines
215 B
C
Vendored
5 lines
215 B
C
Vendored
#define LINUX_VERSION_CODE 331778
|
|
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))
|
|
#define LINUX_VERSION_MAJOR 5
|
|
#define LINUX_VERSION_PATCHLEVEL 16
|
|
#define LINUX_VERSION_SUBLEVEL 2 |