aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-30 21:04:38 +0000
committerRichard M. Stallman1995-06-30 21:04:38 +0000
commit7a8b824c1eb4cc59e10abe40749eaa8f50ca2b40 (patch)
tree8304d684356b124386215ea9587aa845e5946bc3 /src
parent8a822d6aa8302f6f0b104f9e52acbed3cf8dab2d (diff)
downloademacs-7a8b824c1eb4cc59e10abe40749eaa8f50ca2b40.tar.gz
emacs-7a8b824c1eb4cc59e10abe40749eaa8f50ca2b40.zip
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN)
(PTY_TTY_NAME_SPRINTF): New definitions.
Diffstat (limited to 'src')
-rw-r--r--src/m/alpha.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 5ee92e43ad1..0d257b3c245 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -259,3 +259,16 @@ extern void r_alloc_free ();
259 259
260#endif /* not THIS_IS_YMAKEFILE */ 260#endif /* not THIS_IS_YMAKEFILE */
261#endif /* not NOT_C_CODE */ 261#endif /* not NOT_C_CODE */
262
263#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
264#define PTY_NAME_SPRINTF /* none */
265#define PTY_TTY_NAME_SPRINTF /* none */
266#define PTY_OPEN \
267 do \
268 { \
269 int dummy; \
270 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
271 fd = -1; \
272 close (dummy); \
273 } \
274 while (0)