fix glibc version for single_threaded.h (2.32 instead of 2.35)

This commit is contained in:
DubbleClick 2025-07-16 19:28:02 +07:00 committed by Alex Rønne Petersen
parent 7d63e777a4
commit c7bcdb4802

View file

@ -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