summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian1999-10-08 17:15:07 +0000
committerBruce Momjian1999-10-08 17:15:07 +0000
commitdf26ad5acc03fbbb5990748f6bd156135d9085bc (patch)
tree5d9139feed4bd8f8fb265562b492ac2cd65bfdcb /src
parent40771ca4364db5abebe7f463789f48345d5c08f8 (diff)
Define __alpha__ for __alpha.
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/Makefile.alpha5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.alpha b/src/makefiles/Makefile.alpha
index a9e8e948ec6..6fb505e32eb 100644
--- a/src/makefiles/Makefile.alpha
+++ b/src/makefiles/Makefile.alpha
@@ -1,2 +1,7 @@
+/* some platforms define __alpha, but not __alpha__ */
+#if defined(__alpha) && !defined(__alpha__)
+#define __alpha__
+#endif
+
%.so: %.o
$(LD) -shared -expect_unresolved '*' -o $@ $<