aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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)