aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/spinlock.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-26 09:51:29 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-26 09:51:29 +0000
commite138a80033905ff82025155c00405da998aa07d3 (patch)
treefbd032364a739542f1938a70b3f81edae76d6645 /linuxthreads/spinlock.c
parent0ca7e46e1654e3165953c0485b70b75b0c3d53ae (diff)
downloadglibc-e138a80033905ff82025155c00405da998aa07d3.zip
glibc-e138a80033905ff82025155c00405da998aa07d3.tar.gz
glibc-e138a80033905ff82025155c00405da998aa07d3.tar.bz2
Update.
1998-06-26 Ulrich Drepper <drepper@cygnus.com> * spinlock.c: Correct test whether to compile __pthread_compare_and_swap or not.
Diffstat (limited to 'linuxthreads/spinlock.c')
-rw-r--r--linuxthreads/spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c
index dba5d38..df30c35 100644
--- a/linuxthreads/spinlock.c
+++ b/linuxthreads/spinlock.c
@@ -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);