diff options
| author | Motiejus Jakštys <motiejus@uber.com> | 2023-03-28 20:30:06 +0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-06-05 22:43:53 -0700 |
| commit | 9e76385afcc341f7366c733b28efb88f8bdd33d8 (patch) | |
| tree | 9a169fd1435033d4f697b0e8ea06467693414096 /lib/std/Build/Step/ConfigHeader.zig | |
| parent | ad34de32a86306daa55bdec713bbefc4afacb5b8 (diff) | |
| download | zig-9e76385afcc341f7366c733b28efb88f8bdd33d8.tar.gz zig-9e76385afcc341f7366c733b28efb88f8bdd33d8.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 'lib/std/Build/Step/ConfigHeader.zig')
0 files changed, 0 insertions, 0 deletions
