Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dd22565

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 parent 5298eb4 commit dd22565

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
static void
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)