From e138a80033905ff82025155c00405da998aa07d3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 26 Jun 1998 09:51:29 +0000 Subject: Update. 1998-06-26 Ulrich Drepper * spinlock.c: Correct test whether to compile __pthread_compare_and_swap or not. --- linuxthreads/spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/spinlock.c') diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c index dba5d38fd2..df30c35e6c 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); -- cgit 1.4.1