8000 Move __alpha to port/alpha.h. · tomdcc/postgres@987b1b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 987b1b9

Browse files
committed
Move __alpha to port/alpha.h.
1 parent df26ad5 commit 987b1b9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/include/port/alpha.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33
#define HAS_TEST_AND_SET
44
#include <sys/mman.h> /* for msemaphore */
55
typedef msemaphore slock_t;
6+
7+
/* some platforms define __alpha, but not __alpha__ */
8+
#if defined(__alpha) && !defined(__alpha__)
9+
#define __alpha__
10+
#endif
11+

src/makefiles/Makefile.alpha

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
/* some platforms define __alpha, but not __alpha__ */
2-
#if defined(__alpha) && !defined(__alpha__)
3-
#define __alpha__
4-
#endif
5-
61
%.so: %.o
72
$(LD) -shared -expect_unresolved '*' -o $@ $<

0 commit comments

Comments
 (0)
0