ticket: 3293
version_fixed: 1.4.4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17717
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-12-16 Ken Raeburn <raeburn@mit.edu>
+
+ * k5-thread.h (USE_PTHREAD_LOCK_ONLY_IF_LOADED): Define any time
+ HAVE_PRAGMA_WEAK_REF is defined.
+
2005-10-20 Jeffrey Altman <jaltman@mit.edu>
* win-mac.h:
# 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