aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-08-11 23:45:53 +0000
committerRichard M. Stallman1995-08-11 23:45:53 +0000
commit1596f1c9f7c2d8e206598f902fd1ed44e3b91ae9 (patch)
tree8883cb6e4abb26e5f32d44242d4d76d88f0ecab1 /src
parentb4f30507de0198d761e0aff11da7ebe0df45f260 (diff)
downloademacs-1596f1c9f7c2d8e206598f902fd1ed44e3b91ae9.tar.gz
emacs-1596f1c9f7c2d8e206598f902fd1ed44e3b91ae9.zip
Test OSF1, not __osf1__.
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN): Define only if OSF1.
Diffstat (limited to 'src')
-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
159 159
160#define DATA_SEG_BITS 0x140000000 160#define DATA_SEG_BITS 0x140000000
161 161
162#ifdef __osf1__ 162#ifdef OSF1
163#define ORDINARY_LINK 163#define ORDINARY_LINK
164 164
165/* Some systems seem to have this, others don't. */ 165/* Some systems seem to have this, others don't. */
@@ -168,7 +168,7 @@ NOTE-END
168#else 168#else
169#define LIBS_MACHINE -ldnet_stub 169#define LIBS_MACHINE -ldnet_stub
170#endif 170#endif
171#endif /* __osf1__ */ 171#endif /* OSF1 */
172 172
173#if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6 173#if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6
174 since it has only shared libraries. */ 174 since it has only shared libraries. */
@@ -180,7 +180,7 @@ NOTE-END
180#endif 180#endif
181#endif /* 0 */ 181#endif /* 0 */
182 182
183#ifdef __osf1__ 183#ifdef OSF1
184#define LIBS_DEBUG 184#define LIBS_DEBUG
185#define START_FILES pre-crt0.o 185#define START_FILES pre-crt0.o
186#endif 186#endif
@@ -263,6 +263,7 @@ extern void r_alloc_free ();
263#endif /* not THIS_IS_YMAKEFILE */ 263#endif /* not THIS_IS_YMAKEFILE */
264#endif /* not NOT_C_CODE */ 264#endif /* not NOT_C_CODE */
265 265
266#ifdef OSF1
266#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ 267#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
267#define PTY_NAME_SPRINTF /* none */ 268#define PTY_NAME_SPRINTF /* none */
268#define PTY_TTY_NAME_SPRINTF /* none */ 269#define PTY_TTY_NAME_SPRINTF /* none */
@@ -275,6 +276,7 @@ extern void r_alloc_free ();
275 close (dummy); \ 276 close (dummy); \
276 } \ 277 } \
277 while (0) 278 while (0)
279#endif
278 280
279#ifdef linux 281#ifdef linux
280#define COFF 282#define COFF