From c7bcdb4802c2a492abb40f292a7694f0511e7691 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Wed, 16 Jul 2025 19:28:02 +0700 Subject: [PATCH] fix glibc version for single_threaded.h (2.32 instead of 2.35) --- lib/libc/include/generic-glibc/sys/single_threaded.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/include/generic-glibc/sys/single_threaded.h b/lib/libc/include/generic-glibc/sys/single_threaded.h index b5a93d084a..5fec9a477c 100644 --- a/lib/libc/include/generic-glibc/sys/single_threaded.h +++ b/lib/libc/include/generic-glibc/sys/single_threaded.h @@ -16,10 +16,10 @@ License along with the GNU C Library; if not, see . */ -// 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