diff options
| author | Motiejus Jakštys <motiejus@uber.com> | 2023-03-28 20:30:06 +0300 |
|---|---|---|
| committer | Motiejus Jakštys <motiejus@uber.com> | 2023-03-28 20:35:08 +0300 |
| commit | 7e6aeead85c0831b054f095f35677abb49e9b984 (patch) | |
| tree | 1ab1d49a83ff07586d15eb4f8284d10c504bece5 /src/codegen | |
| parent | 43487eb3ef0933c1da53b917c44ba6070d8e5a21 (diff) | |
| download | zig-7e6aeead85c0831b054f095f35677abb49e9b984.tar.gz zig-7e6aeead85c0831b054f095f35677abb49e9b984.zip | |
glibc: 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.
Closes #9485
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
