From ff77befb735118a3f1759b763c396b1574eaa286 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 9 Oct 1999 01:30:23 +0000 Subject: Move __alpha to port/alpha.h. --- src/include/port/alpha.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include') 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 /* for msemaphore */ typedef msemaphore slock_t; + +/* some platforms define __alpha, but not __alpha__ */ +#if defined(__alpha) && !defined(__alpha__) +#define __alpha__ +#endif + -- cgit v1.2.3