# HG changeset patch # User Richard M. Stallman # Date 808184753 0 # Node ID 0b4d6d2de098c91eb1dc4d227e543b0ed481341e # Parent 6e5c3dfa040cd395e4edf02aac815742ebeb279e Test OSF1, not __osf1__. (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN): Define only if OSF1. diff -r 6e5c3dfa040c -r 0b4d6d2de098 src/m/alpha.h --- 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 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