st/nine: Drop preprocessor guards for glibc-2.12

Same rationale as the previous patch, but additionally these checks just
seem entirely unnecessary. pthread_self() has been used in Mesa since at
least 1999.

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Matt Turner 2019-07-24 18:28:38 -07:00
parent 9c411e020d
commit 9cc4311d86

View file

@ -73,11 +73,8 @@ _nine_debug_printf( unsigned long flag,
}
#if defined(HAVE_PTHREAD)
# if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && defined(__GLIBC_MINOR__) && \
(__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
if (dbg_flags & DBG_TID)
tid = pthread_self();
# endif
#endif
if (dbg_flags & flag) {