zig/lib/libc/include
Marc 75d6d4c3f2
add glibc versioning for a number of headers (#24237)
* getrandom was added in glibc 2.25
https://sourceware.org/bugzilla/show_bug.cgi?id=17252

* copy_file_range was added in glibc 2.27
https://sourceware.org/git/?p=glibc.git;a=commit;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f

* threads.h should not exist for glibc < 2.28

* single_threaded.h should not exist for glibc < 2.35

* Apply suggestions from code review

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>

* 2.35 instead of 35

* before 2.35 instead of 2.34 and before

---------

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
2025-06-24 16:14:00 +00:00
..
aarch64-freebsd-none libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
aarch64-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
aarch64-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
aarch64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
aarch64-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
any-linux-any libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
any-macos-any libc: update macOS headers to SDK 15.5 2025-05-31 22:40:38 +02:00
any-windows-any mingw: Update MinGW-w64 headers to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e. 2025-06-11 15:28:36 +02:00
arc-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
arc-linux-gnu glibc: Update header files to 2.41. 2025-01-31 14:30:32 +01:00
arm-freebsd-eabihf libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
arm-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
arm-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
arm-linux-musl/bits update musl headers to v1.2.5 2024-06-04 16:54:11 -07:00
arm-netbsd-eabi libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
csky-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
csky-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
generic-freebsd libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
generic-glibc add glibc versioning for a number of headers (#24237) 2025-06-24 16:14:00 +00:00
generic-musl musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
generic-netbsd libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
hexagon-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
hexagon-linux-musl musl: Add hexagon-linux-musl headers. 2025-04-11 02:28:35 +02:00
loongarch-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
loongarch-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
loongarch64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
m68k-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
m68k-linux-gnu glibc: Update header files to 2.41. 2025-01-31 14:30:32 +01:00
m68k-linux-musl/bits update musl headers to v1.2.5 2024-06-04 16:54:11 -07:00
m68k-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
mips-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
mips-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
mips-linux-musl/bits update musl headers to v1.2.5 2024-06-04 16:54:11 -07:00
mips-netbsd-eabi libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
mips64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
mips64-linux-muslabin32/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
powerpc-freebsd-eabihf/machine libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
powerpc-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
powerpc-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
powerpc-linux-musl/bits update musl headers to v1.2.5 2024-06-04 16:54:11 -07:00
powerpc64-freebsd-none/machine libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
powerpc64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
riscv-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
riscv-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
riscv32-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
riscv64-freebsd-none libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
riscv64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
s390x-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
s390x-linux-gnu glibc: Update header files to 2.41. 2025-01-31 14:30:32 +01:00
s390x-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
sparc-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
sparc-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
sparc-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
sparc64-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
wasm-wasi-musl wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00
x86-freebsd-none libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
x86-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00
x86-linux-gnu libc: Merge header directories for glibc and NetBSD libc where applicable. 2025-05-30 00:15:39 +02:00
x86-linux-musl/bits update musl headers to v1.2.5 2024-06-04 16:54:11 -07:00
x86-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
x86_64-freebsd-none libc: Add FreeBSD system and libc headers from 14.2.0. 2025-05-10 12:19:26 +02:00
x86_64-linux-musl/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
x86_64-linux-muslx32/bits musl: Update headers from musl 1.2.5. 2024-11-02 10:42:53 +01:00
x86_64-netbsd-none libc: Add NetBSD system and libc headers from 10.1. 2025-05-17 04:41:27 +02:00
xtensa-linux-any/asm libc: Update Linux headers to 6.13.4. 2025-02-25 11:24:18 +01:00