diff options
| author | Glenn Morris | 2012-07-12 00:10:44 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-07-12 00:10:44 -0700 |
| commit | 0ab7b23ae0a12669fef7f5939fbb0161f29280a2 (patch) | |
| tree | 97d7afd17794a592740e074614d63761dba418f6 /src/s/gnu-linux.h | |
| parent | 6e7778482fb5fc9e527b799db7c83b210674c2a8 (diff) | |
| download | emacs-0ab7b23ae0a12669fef7f5939fbb0161f29280a2.tar.gz emacs-0ab7b23ae0a12669fef7f5939fbb0161f29280a2.zip | |
Move PTY_OPEN from src/s to configure
* configure.ac (PTY_OPEN) Move here from src/s.
* src/s/cygwin.h, src/s/darwin.h, src/s/gnu-linux.h, src/s/irix6-5.h:
Move PTY_OPEN to configure.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index dd4de41f84b..20a2354a2ab 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -30,7 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | 30 | ||
| 31 | #ifdef HAVE_GETPT | 31 | #ifdef HAVE_GETPT |
| 32 | #define PTY_NAME_SPRINTF | 32 | #define PTY_NAME_SPRINTF |
| 33 | #define PTY_OPEN fd = getpt () | ||
| 34 | #else /* not HAVE_GETPT */ | 33 | #else /* not HAVE_GETPT */ |
| 35 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); | 34 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); |
| 36 | #endif /* not HAVE_GETPT */ | 35 | #endif /* not HAVE_GETPT */ |