View | Details | Raw Unified | Return to bug 161181
Collapse All | Expand All

(-)src/s/freebsd.h (+14 lines)
Lines 61-63 Link Here
61
61
62
/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack.  */
62
/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack.  */
63
#define GC_MARK_STACK 	GC_MAKE_GCPROS_NOOPS
63
#define GC_MARK_STACK 	GC_MAKE_GCPROS_NOOPS
64
65
#define PTY_ITERATION	int i; for (i = 0; i < 1; i++)
66
#define PTY_NAME_SPRINTF	/* none */
67
#define PTY_TTY_NAME_SPRINTF	/* none */
68
#define PTY_OPEN						\
69
  do								\
70
    {								\
71
      int slave;						\
72
      if (openpty (&fd, &slave, pty_name, NULL, NULL) == -1)	\
73
	fd = -1;						\
74
      else							\
75
	emacs_close (slave);					\
76
    }								\
77
  while (0)

Return to bug 161181