From: Matt Turner Date: Thu, 25 Jul 2019 01:28:38 +0000 (-0700) Subject: st/nine: Drop preprocessor guards for glibc-2.12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cc4311d86a797bba26448bcaf24db4887c6ec8d;p=mesa.git 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 --- diff --git a/src/gallium/state_trackers/nine/nine_debug.c b/src/gallium/state_trackers/nine/nine_debug.c index 904a40fde83..784d535d213 100644 --- a/src/gallium/state_trackers/nine/nine_debug.c +++ b/src/gallium/state_trackers/nine/nine_debug.c @@ -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) {