From 98018c4b93073ae7afb705a9ad93d461fbf07aa1 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Sun, 25 Jan 1998 05:23:59 +0000
Subject: [PATCH] From: Keith Parks <emkxp01@mtcc.demon.co.uk>

Small patch for sparc solaris/tas()
---
 src/include/storage/s_lock.h | 5 ++---
 1 file 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);
-- 
GitLab