]> granicus.if.org Git - postgresql/commitdiff
Move __alpha to port/alpha.h.
authorBruce Momjian <bruce@momjian.us>
Sat, 9 Oct 1999 01:30:23 +0000 (01:30 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 9 Oct 1999 01:30:23 +0000 (01:30 +0000)
src/include/port/alpha.h
src/makefiles/Makefile.alpha

index 6499bca6e98bd44ab4fc0e933b1f073f5e1e607c..2c1c6e55c9affbd546bc8a8108ed94b76ae647d0 100644 (file)
@@ -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
+
index 6fb505e32eb88d010a0765670b1a6d70b771f1eb..a9e8e948ec66e20b70f72c939da329311329bb83 100644 (file)
@@ -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 $@ $<