mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
1998-06-26 Ulrich Drepper <drepper@cygnus.com> * spinlock.c: Correct test whether to compile __pthread_compare_and_swap or not.
This commit is contained in:
@@ -116,7 +116,7 @@ again:
|
||||
int __pthread_has_cas = 0;
|
||||
#endif
|
||||
|
||||
#ifndef HAS_COMPARE_AND_SWAP
|
||||
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
|
||||
|
||||
static void __pthread_acquire(int * spinlock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user