aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-01-25 05:23:59 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-01-25 05:23:59 +0000
commit98018c4b93073ae7afb705a9ad93d461fbf07aa1 (patch)
treeaa9e41a1a289cb740065b3d5e3094518a437f243
parentc58fb21bd444458d3b1790404c81d80bcc6339b7 (diff)
downloadpostgresql-98018c4b93073ae7afb705a9ad93d461fbf07aa1.tar.gz
postgresql-98018c4b93073ae7afb705a9ad93d461fbf07aa1.zip
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
Small patch for sparc solaris/tas()
-rw-r--r--src/include/storage/s_lock.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index aa30c755bd8..9f83057c8da 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.19 1998/01/20 05:05:02 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.20 1998/01/25 05:23:59 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -117,8 +117,7 @@
* Solaris 2
*/
-#if (defined(__i386__) && defined(__sun__)) || \
- defined(sparc_solaris)
+#if ((defined(__i386__) || defined(__sparc__)) && defined(__sun__)
/* for xxxxx_solaris, this is defined in port/.../tas.s */
static int tas(slock_t *lock);