Skip to content
Snippets Groups Projects
Commit de7c728d authored by Tatsuo Ishii's avatar Tatsuo Ishii
Browse files

change #if defined(__mc68000__) to:

#if defined(__mc68000__) && defined(__linux__)
so that other m68k systems(such as NetBSD) will not be affected.
parent 642d21a5
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.60 1999/06/10 22:59:22 momjian Exp $ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.61 1999/06/13 00:07:43 ishii Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -157,7 +157,7 @@ tas(volatile slock_t *lock) ...@@ -157,7 +157,7 @@ tas(volatile slock_t *lock)
#endif /* sparc */ #endif /* sparc */
#if defined(__mc68000__) #if defined(__mc68000__) && defined(__linux__)
#define TAS(lock) tas(lock) #define TAS(lock) tas(lock)
static __inline__ int static __inline__ int
...@@ -173,7 +173,7 @@ tas(volatile slock_t *lock) ...@@ -173,7 +173,7 @@ tas(volatile slock_t *lock)
return rv; return rv;
} }
#endif /* defined(__mc68000__) */ #endif /* defined(__mc68000__) && defined(__linux__) */
#if defined(NEED_VAX_TAS_ASM) #if defined(NEED_VAX_TAS_ASM)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment