summaryrefslogtreecommitdiff
path: root/src/m/alpha.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-11 23:45:53 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-11 23:45:53 +0000
commitb7cd708219289dae6de0fb26a9040a7523513b49 (patch)
tree81a6d75f2f0ad1c8d9daeae5c635dfc5bf0c605f /src/m/alpha.h
parentfd240ad4d3859b8f9a825531e6d68578dcaeb0b0 (diff)
downloademacs-b7cd708219289dae6de0fb26a9040a7523513b49.tar.gz
Test OSF1, not __osf1__.
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN): Define only if OSF1.
Diffstat (limited to 'src/m/alpha.h')
-rw-r--r--src/m/alpha.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index f8f4b7e8798..a54585d3a5d 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -159,7 +159,7 @@ NOTE-END
#define DATA_SEG_BITS 0x140000000
-#ifdef __osf1__
+#ifdef OSF1
#define ORDINARY_LINK
/* Some systems seem to have this, others don't. */
@@ -168,7 +168,7 @@ NOTE-END
#else
#define LIBS_MACHINE -ldnet_stub
#endif
-#endif /* __osf1__ */
+#endif /* OSF1 */
#if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6
since it has only shared libraries. */
@@ -180,7 +180,7 @@ NOTE-END
#endif
#endif /* 0 */
-#ifdef __osf1__
+#ifdef OSF1
#define LIBS_DEBUG
#define START_FILES pre-crt0.o
#endif
@@ -263,6 +263,7 @@ extern void r_alloc_free ();
#endif /* not THIS_IS_YMAKEFILE */
#endif /* not NOT_C_CODE */
+#ifdef OSF1
#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
#define PTY_NAME_SPRINTF /* none */
#define PTY_TTY_NAME_SPRINTF /* none */
@@ -275,6 +276,7 @@ extern void r_alloc_free ();
close (dummy); \
} \
while (0)
+#endif
#ifdef linux
#define COFF