summaryrefslogtreecommitdiffstats
path: root/src/include/k5-thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/k5-thread.h')
-rw-r--r--src/include/k5-thread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/k5-thread.h b/src/include/k5-thread.h
index ea71bf499b..7dbcfac6b9 100644
--- a/src/include/k5-thread.h
+++ b/src/include/k5-thread.h
@@ -439,12 +439,9 @@ extern int krb5int_pthread_loaded(void);
# error "Weak reference support is required"
# endif
# endif
-# define USE_PTHREAD_LOCK_ONLY_IF_LOADED
#endif
-#if !defined(HAVE_PTHREAD_MUTEX_LOCK) && !defined(USE_PTHREAD_LOCK_ONLY_IF_LOADED)
-/* If we find a system with a broken stub for pthread_mutex_lock,
- we may have to change this. */
+#ifdef HAVE_PRAGMA_WEAK_REF
# define USE_PTHREAD_LOCK_ONLY_IF_LOADED
#endif