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

Commitdd22565

Browse files
committed
Change the conditionals so the mips + gcc code here doesn't apply for Irix.
The code in s_lock.h should get used.report from Bruno Mattarollo <bruno@web1.greenpeace.org>
1 parent5298eb4 commitdd22565

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/storage/buffer/s_lock.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.36 2001/03/27 01:16:24 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.37 2001/08/28 15:04:27 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -228,7 +228,7 @@ success:\n\
228228

229229
#endif/* __powerpc__ */
230230

231-
#if defined(__mips__)
231+
#if defined(__mips__)|| !defined(__sgi)
232232
staticvoid
233233
tas_dummy()
234234
{
@@ -251,9 +251,9 @@ fail:\n\
251251
");
252252
}
253253

254-
#endif/* __mips__ */
254+
#endif/* __mips__&& !__sgi*/
255255

256-
#else/*defined(__GNUC__) */
256+
#else/*not__GNUC__ */
257257
/***************************************************************************
258258
* All non gcc
259259
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp