]> granicus.if.org Git - postgresql/commitdiff
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 25 Jan 1998 05:23:59 +0000 (05:23 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 25 Jan 1998 05:23:59 +0000 (05:23 +0000)
Small patch for sparc solaris/tas()

src/include/storage/s_lock.h

index aa30c755bd857788ba48408fc5083f0175b65585..9f83057c8da3a7f7c1b772bb3966a7cbff5ac606 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
  * 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);