aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 5e8691b55ce..dd4de41f84b 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -28,9 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#if defined HAVE_GRANTPT 28#if defined HAVE_GRANTPT
29#define UNIX98_PTYS 29#define UNIX98_PTYS
30 30
31/* Run only once. We need a `for'-loop because the code uses `continue'. */
32#define PTY_ITERATION int i; for (i = 0; i < 1; i++)
33
34#ifdef HAVE_GETPT 31#ifdef HAVE_GETPT
35#define PTY_NAME_SPRINTF 32#define PTY_NAME_SPRINTF
36#define PTY_OPEN fd = getpt () 33#define PTY_OPEN fd = getpt ()
@@ -56,13 +53,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
56 sigunblock (sigmask (SIGCHLD)); \ 53 sigunblock (sigmask (SIGCHLD)); \
57 } 54 }
58 55
59#else /* not HAVE_GRANTPT */ 56#endif /* HAVE_GRANTPT */
60
61/* Letter to use in finding device name of first pty,
62 if system supports pty's. 'p' means it is /dev/ptyp0 */
63#define FIRST_PTY_LETTER 'p'
64
65#endif /* not HAVE_GRANTPT */
66 57
67/* Here, on a separate page, add any special hacks needed 58/* Here, on a separate page, add any special hacks needed
68 to make Emacs work on this system. For example, 59 to make Emacs work on this system. For example,