summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2004-01-03 05:47:44 +0000
committerTom Lane2004-01-03 05:47:44 +0000
commit037e2fcf8fb4f5af00a5eceb26f4a2170e99b343 (patch)
tree0029afc2134b426a4d88bf1238926e740978289c /src
parentb3c3b5464d762efdf30cb9f2beb71e2d9e246011 (diff)
Must test for __hppa__ as well as __hppa to make linux-hppa happy.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 9ab24f93ae7..f8bcf5e96a9 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -66,7 +66,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.124 2003/12/27 20:58:58 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.125 2004/01/03 05:47:44 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -510,7 +510,7 @@ typedef unsigned long slock_t;
#endif /* __alpha || __alpha__ */
-#if defined(__hppa)
+#if defined(__hppa) || defined(__hppa__)
/*
* HP's PA-RISC
*
@@ -560,7 +560,7 @@ tas(volatile slock_t *lock)
#define S_LOCK_FREE(lock) (*TAS_ACTIVE_WORD(lock) != 0)
-#endif /* __hppa */
+#endif /* __hppa || __hppa__ */
#if defined(__QNX__) && defined(__WATCOMC__)