Commit dd225655 authored by Peter Eisentraut's avatar Peter Eisentraut

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>
parent 5298eb47
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.36 2001/03/27 01:16:24 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.37 2001/08/28 15:04:27 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -228,7 +228,7 @@ success: \n\ ...@@ -228,7 +228,7 @@ success: \n\
#endif /* __powerpc__ */ #endif /* __powerpc__ */
#if defined(__mips__) #if defined(__mips__) || !defined(__sgi)
static void static void
tas_dummy() tas_dummy()
{ {
...@@ -251,9 +251,9 @@ fail: \n\ ...@@ -251,9 +251,9 @@ fail: \n\
"); ");
} }
#endif /* __mips__ */ #endif /* __mips__ && !__sgi */
#else /* defined(__GNUC__) */ #else /* not __GNUC__ */
/*************************************************************************** /***************************************************************************
* All non gcc * All non gcc
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment