mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Post-review fix (bug #21250)
This commit is contained in:
@ -61,8 +61,12 @@ void check_thread_lib(void)
|
|||||||
{
|
{
|
||||||
char buf[5];
|
char buf[5];
|
||||||
|
|
||||||
|
#ifdef _CS_GNU_LIBPTHREAD_VERSION
|
||||||
confstr(_CS_GNU_LIBPTHREAD_VERSION, buf, sizeof(buf));
|
confstr(_CS_GNU_LIBPTHREAD_VERSION, buf, sizeof(buf));
|
||||||
is_nptl = !strncasecmp(buf, "NPTL", sizeof(buf));
|
is_nptl = !strncasecmp(buf, "NPTL", sizeof(buf));
|
||||||
|
#else
|
||||||
|
is_nptl = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__alpha__) && defined(__GNUC__)
|
#if defined(__alpha__) && defined(__GNUC__)
|
||||||
|
Reference in New Issue
Block a user