projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab8da8
)
change #if defined(__mc68000__) to:
author
Tatsuo Ishii
<ishii@postgresql.org>
Sun, 13 Jun 1999 00:07:43 +0000
(
00:07
+0000)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Sun, 13 Jun 1999 00:07:43 +0000
(
00:07
+0000)
#if defined(__mc68000__) && defined(__linux__)
so that other m68k systems(such as NetBSD) will not be affected.
src/include/storage/s_lock.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index 44534a08a3b221c1c4c5a38ebcc748eed67551e6..63094716bb8724074572fa1aa0ae293662068b65 100644
(file)
--- 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)