diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-08-28 15:04:27 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-08-28 15:04:27 +0000 |
commit | dd225655b9bfec02f128b7590be9ad4f44d87aa9 (patch) | |
tree | 85dd7c28e5f1d8cd428d2342b84d15d03aa0ec57 /src | |
parent | 5298eb47dc11e42eddcbda2ac8a4794361f34d2c (diff) | |
download | postgresql-dd225655b9bfec02f128b7590be9ad4f44d87aa9.tar.gz postgresql-dd225655b9bfec02f128b7590be9ad4f44d87aa9.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/buffer/s_lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/buffer/s_lock.c b/src/backend/storage/buffer/s_lock.c index eb07e476a96..282273cd6b0 100644 --- a/src/backend/storage/buffer/s_lock.c +++ b/src/backend/storage/buffer/s_lock.c @@ -8,7 +8,7 @@ * * * 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\ #endif /* __powerpc__ */ -#if defined(__mips__) +#if defined(__mips__) || !defined(__sgi) static void tas_dummy() { @@ -251,9 +251,9 @@ fail: \n\ "); } -#endif /* __mips__ */ +#endif /* __mips__ && !__sgi */ -#else /* defined(__GNUC__) */ +#else /* not __GNUC__ */ /*************************************************************************** * All non gcc */ |