Skip to content

Commit ff77bef

Browse files
committed
Move __alpha to port/alpha.h.
1 parent 16b996d commit ff77bef

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy