Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde7c728

Browse files
committed
change #if defined(__mc68000__) to:
#if defined(__mc68000__) && defined(__linux__)so that other m68k systems(such as NetBSD) will not be affected.
1 parent642d21a commitde7c728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/storage/s_lock.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.60 1999/06/10 22:59:22 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.61 1999/06/13 00:07:43 ishii Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -157,7 +157,7 @@ tas(volatile slock_t *lock)
157157
#endif/* sparc */
158158

159159

160-
#if defined(__mc68000__)
160+
#if defined(__mc68000__)&& defined(__linux__)
161161
#defineTAS(lock) tas(lock)
162162

163163
static __inline__int
@@ -173,7 +173,7 @@ tas(volatile slock_t *lock)
173173
returnrv;
174174
}
175175

176-
#endif/* defined(__mc68000__) */
176+
#endif/* defined(__mc68000__)&& defined(__linux__)*/
177177

178178

179179
#if defined(NEED_VAX_TAS_ASM)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp