summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2019-07-24 18:28:38 -0700
committerMatt Turner <mattst88@gmail.com>2019-07-30 11:49:09 -0700
commit9cc4311d86a797bba26448bcaf24db4887c6ec8d (patch)
tree87df2f6046f592d94f41d1fb375d5222e4c67a0a
parent9c411e020d164563fb6fcd92a28a435277bf0745 (diff)
downloadmesa-9cc4311d86a797bba26448bcaf24db4887c6ec8d.tar.gz
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>
-rw-r--r--src/gallium/state_trackers/nine/nine_debug.c3
1 files changed, 0 insertions, 3 deletions
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) {