From 7db6716c1c0745d5b3c445485fb4607de5aff52d Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Sun, 13 Jun 1999 00:07:43 +0000 Subject: [PATCH] change #if defined(__mc68000__) to: #if defined(__mc68000__) && defined(__linux__) so that other m68k systems(such as NetBSD) will not be affected. --- src/include/storage/s_lock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 44534a08a3..63094716bb 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -157,7 +157,7 @@ tas(volatile slock_t *lock) #endif /* sparc */ -#if defined(__mc68000__) +#if defined(__mc68000__) && defined(__linux__) #define TAS(lock) tas(lock) static __inline__ int @@ -173,7 +173,7 @@ tas(volatile slock_t *lock) return rv; } -#endif /* defined(__mc68000__) */ +#endif /* defined(__mc68000__) && defined(__linux__) */ #if defined(NEED_VAX_TAS_ASM) -- 2.39.5