diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 1999-06-13 00:07:43 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 1999-06-13 00:07:43 +0000 |
commit | de7c728d41721655d25f153a2a15512efb76cde4 (patch) | |
tree | 49af4a8dcd84d44091eb6c5cbc072d441d5e852f | |
parent | 642d21a59bac907d00e94900f134aa645cada90b (diff) | |
download | postgresql-de7c728d41721655d25f153a2a15512efb76cde4.tar.gz postgresql-de7c728d41721655d25f153a2a15512efb76cde4.zip |
change #if defined(__mc68000__) to:
#if defined(__mc68000__) && defined(__linux__)
so that other m68k systems(such as NetBSD) will not be affected.
-rw-r--r-- | src/include/storage/s_lock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index ed6f77e610c..2780152f693 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -7,7 +7,7 @@ * * * 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) #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) |