aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-12-22 23:36:38 +0000
committerBruce Momjian <bruce@momjian.us>2003-12-22 23:36:38 +0000
commitb731d04101072e7d720c79bd32a0eda80411901c (patch)
treea00782edcdb8cbd74cf7ad80185743e0ed2e8b3c /src/include
parent86d34e4123819ea2e327a83076bc107b95074d66 (diff)
downloadpostgresql-b731d04101072e7d720c79bd32a0eda80411901c.tar.gz
postgresql-b731d04101072e7d720c79bd32a0eda80411901c.zip
Test for __alpha and __alpha__.
Diffstat (limited to 'src/include')
-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 3717a9f05f9..a6d6006b081 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -63,7 +63,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.117 2003/11/29 22:41:13 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.118 2003/12/22 23:36:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -374,7 +374,7 @@ tas(volatile slock_t *s_lock)
*/
-#if defined(__alpha)
+#if defined(__alpha) || defined(__alpha__)
/*
* Correct multi-processor locking methods are explained in section 5.5.3
@@ -435,7 +435,7 @@ tas(volatile slock_t *lock)
#endif /* defined(__GNUC__) */
-#endif /* __alpha */
+#endif /* __alpha || __alpha__ */
#if defined(__hppa)