mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
mysys/my_thr_init.c : Avoid warnings of "unused variable" by extending a '#ifdef'.
This commit is contained in:
parent
fd1d4f864e
commit
385526f768
1 changed files with 1 additions and 1 deletions
|
@ -403,9 +403,9 @@ const char *my_thread_name(void)
|
|||
|
||||
static uint get_thread_lib(void)
|
||||
{
|
||||
#ifdef _CS_GNU_LIBPTHREAD_VERSION
|
||||
char buff[64];
|
||||
|
||||
#ifdef _CS_GNU_LIBPTHREAD_VERSION
|
||||
confstr(_CS_GNU_LIBPTHREAD_VERSION, buff, sizeof(buff));
|
||||
|
||||
if (!strncasecmp(buff, "NPTL", 4))
|
||||
|
|
Loading…
Reference in a new issue