Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit987b1b9

Browse files
committed
Move __alpha to port/alpha.h.
1 parentdf26ad5 commit987b1b9

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
#defineHAS_TEST_AND_SET
44
#include<sys/mman.h>/* for msemaphore */
55
typedefmsemaphoreslock_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)

[8]ページ先頭

©2009-2025 Movatter.jp