st/nine: Drop preprocessor guards for glibc-2.12
authorMatt Turner <mattst88@gmail.com>
Thu, 25 Jul 2019 01:28:38 +0000 (18:28 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 30 Jul 2019 18:49:09 +0000 (11:49 -0700)
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>
src/gallium/state_trackers/nine/nine_debug.c

index 904a40fde83f66b8552eb9462250e19278cb8ee0..784d535d213a03bf910956c6cd4eb23a010d76b2 100644 (file)
@@ -73,11 +73,8 @@ _nine_debug_printf( unsigned long flag,
     }
 
 #if defined(HAVE_PTHREAD)
     }
 
 #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();
     if (dbg_flags & DBG_TID)
         tid = pthread_self();
-#  endif
 #endif
 
     if (dbg_flags & flag) {
 #endif
 
     if (dbg_flags & flag) {