summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-10-09 01:30:23 +0000
committerBruce Momjian <bruce@momjian.us>1999-10-09 01:30:23 +0000
commitff77befb735118a3f1759b763c396b1574eaa286 (patch)
tree4b4a2d0050140aa2506e2118c89f3c63fe354c2c /src/include
parent16b996d1058e5effe456cd57c76f2e402f17108e (diff)
Move __alpha to port/alpha.h.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port/alpha.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/port/alpha.h b/src/include/port/alpha.h
index 6499bca6e98..2c1c6e55c9a 100644
--- a/src/include/port/alpha.h
+++ b/src/include/port/alpha.h
@@ -3,3 +3,9 @@
#define HAS_TEST_AND_SET
#include <sys/mman.h> /* for msemaphore */
typedef msemaphore slock_t;
+
+/* some platforms define __alpha, but not __alpha__ */
+#if defined(__alpha) && !defined(__alpha__)
+#define __alpha__
+#endif
+