Move __alpha to port/alpha.h.

REL7_0_PATCHES
Bruce Momjian 26 years ago
parent 16b996d105
commit ff77befb73
  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