Due to the built-in tables, __NR_set_tid_address is always defined.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
int
setup_thread (struct database_dyn *db)
{
-#ifdef __NR_set_tid_address
/* Only supported when NPTL is used. */
char buf[100];
if (confstr (_CS_GNU_LIBPTHREAD_VERSION, buf, sizeof (buf)) >= sizeof (buf)
So, set the field to a nonzero value which indicates that nscd
is certainly running and clients can skip the test. */
return db->head->nscd_certainly_running = 1;
-#endif
return 0;
}