changeset 12836:0b4d6d2de098

Test OSF1, not __osf1__. (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN): Define only if OSF1.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Aug 1995 23:45:53 +0000
parents 6e5c3dfa040c
children 9b1559218458
files src/m/alpha.h
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Fri Aug 11 22:35:35 1995 +0000
+++ b/src/m/alpha.h	Fri Aug 11 23:45:53 1995 +0000
@@ -159,7 +159,7 @@
 
 #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 @@
 #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 @@
 #endif
 #endif /* 0 */
 
-#ifdef __osf1__
+#ifdef OSF1
 #define LIBS_DEBUG
 #define START_FILES pre-crt0.o
 #endif
@@ -263,6 +263,7 @@
 #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 @@
       close (dummy);					\
     }							\
   while (0)
+#endif
 
 #ifdef linux
 #define COFF