diff options
| author | Motiejus Jakštys <motiejus@uber.com> | 2023-03-28 20:30:06 +0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-13 17:44:27 -0700 |
| commit | b40943e253c079ec3de1b149dd2ef0ccc3da38a4 (patch) | |
| tree | e017fb02218974cb4d9cde29f9017fa5b721afe7 /src/Compilation.zig | |
| parent | f9c9ae84c6c0773ab8dc710cae3ce9024ca1e91c (diff) | |
| download | zig-b40943e253c079ec3de1b149dd2ef0ccc3da38a4.tar.gz zig-b40943e253c079ec3de1b149dd2ef0ccc3da38a4.zip | |
glibc patch: add backwards compatibility for some symbols
- `fcntl` was renamed to `fcntl64` in glibc 2.28 (see #9485)
- `res_{,n}{search,query,querydomain}` became "their own" symbols since
glibc 2.34: they were prefixed with `__` before.
This PR makes it possible to use `fcntl` with glibc 2.27 or older and
the `res_*` functions with glibc 2.33 or older.
These patches will become redundant with universal-headers and can be
dropped. But we have to do with what we have now.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
