mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
fix glibc version for single_threaded.h (2.32 instead of 2.35)
This commit is contained in:
parent
7d63e777a4
commit
c7bcdb4802
1 changed files with 4 additions and 4 deletions
|
|
@ -16,10 +16,10 @@
|
|||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
// zig patch: sys/single_threaded.h header was added in glibc 2.35
|
||||
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 35
|
||||
#error "sys/single_threaded.h did not exist before glibc 2.35"
|
||||
#endif /* error for glibc before 2.35 */
|
||||
// zig patch: sys/single_threaded.h header was added in glibc 2.32
|
||||
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 32
|
||||
#error "sys/single_threaded.h did not exist before glibc 2.32"
|
||||
#endif /* error for glibc before 2.32 */
|
||||
|
||||
#ifndef _SYS_SINGLE_THREADED_H
|
||||
#define _SYS_SINGLE_THREADED_H
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue