0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/libc
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>
History 2025-06-24 16:14:00 +00:00
..
darwin libc: update macOS headers to SDK 15.5 2025-05-31 22:40:38 +02:00
freebsd libc: Add FreeBSD libc abilists file. 2025-05-10 12:19:26 +02:00
glibc Revert "glibc: Patch to work around missing features in LLVM's s390x assembler." 2025-04-04 06:08:10 +02:00
include add glibc versioning for a number of headers (#24237) 2025-06-24 16:14:00 +00:00
mingw mingw: Update MinGW-w64 sources to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e. 2025-06-11 18:27:15 +02:00
musl libc: replace musl's trigonometric functions with compiler_rt's 2025-05-30 15:32:52 +00:00
netbsd libc: Add NetBSD libc abilists file. 2025-05-17 04:41:27 +02:00
wasi wasi-libc: Remove pointless alltypes.h.in file. 2025-04-11 02:28:35 +02:00