From: Bruce Momjian Date: Sat, 9 Oct 1999 01:30:23 +0000 (+0000) Subject: Move __alpha to port/alpha.h. X-Git-Tag: REL7_0~1343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff77befb735118a3f1759b763c396b1574eaa286;p=postgresql Move __alpha to port/alpha.h. --- diff --git a/src/include/port/alpha.h b/src/include/port/alpha.h index 6499bca6e9..2c1c6e55c9 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 + diff --git a/src/makefiles/Makefile.alpha b/src/makefiles/Makefile.alpha index 6fb505e32e..a9e8e948ec 100644 --- a/src/makefiles/Makefile.alpha +++ b/src/makefiles/Makefile.alpha @@ -1,7 +1,2 @@ -/* some platforms define __alpha, but not __alpha__ */ -#if defined(__alpha) && !defined(__alpha__) -#define __alpha__ -#endif - %.so: %.o $(LD) -shared -expect_unresolved '*' -o $@ $<