diff options
| author | Bruce Momjian | 1999-10-09 01:30:46 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-10-09 01:30:46 +0000 |
| commit | 987b1b9e5575d787ef304aae8e3e95e2b0d95e64 (patch) | |
| tree | 864e54e2ad57da9cf039c43aad410bf6b8548a35 /src | |
| parent | df26ad5acc03fbbb5990748f6bd156135d9085bc (diff) | |
Move __alpha to port/alpha.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/port/alpha.h | 6 | ||||
| -rw-r--r-- | src/makefiles/Makefile.alpha | 5 |
2 files changed, 6 insertions, 5 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 + diff --git a/src/makefiles/Makefile.alpha b/src/makefiles/Makefile.alpha index 6fb505e32eb..a9e8e948ec6 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 $@ $< |
