Commit 1d47ef84 authored by unknown's avatar unknown

Post-review fix (bug #21250)

parent ed6b3e6b
...@@ -61,8 +61,12 @@ void check_thread_lib(void) ...@@ -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__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment