Move __alpha to port/alpha.h.

REL6_5_PATCHES
Bruce Momjian 27 years ago
parent df26ad5acc
commit 987b1b9e55
  1. 6
      src/include/port/alpha.h
  2. 5
      src/makefiles/Makefile.alpha

@ -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

@ -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 $@ $<

Loading…
Cancel
Save