]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards.
authorGlenn Morris <rgm@gnu.org>
Tue, 10 Jul 2012 01:49:46 +0000 (21:49 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 10 Jul 2012 01:49:46 +0000 (21:49 -0400)
We include usg5-4-common.h, which defines them both.

src/ChangeLog
src/s/irix6-5.h

index 754f0caf9dbb1d48bc797f434d64df57c4117007..3b7038ffe4905fa9ef2817a3798c90766a6c7360 100644 (file)
@@ -1,5 +1,8 @@
 2012-07-10  Glenn Morris  <rgm@gnu.org>
 
+       * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards.
+       We include usg5-4-common.h, which defines them both.
+
        * s/gnu.h: Don't include fcntl.h (every file in Emacs that uses
        O_RDONLY already includes it).
 
index 30aca2b54166bc7b66e2daf27bdfd1ff39f7653d..212a6ffb83914e37b0c9c7f7b2b12e9cb0b6beec 100644 (file)
@@ -26,9 +26,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define SETPGRP_RELEASES_CTTY
 
-#ifdef SETUP_SLAVE_PTY
 #undef SETUP_SLAVE_PTY
-#endif
 
 /* thomas@mathematik.uni-bremen.de says this is needed.  */
 /* Make process_send_signal work by "typing" a signal character on the pty.  */
@@ -42,9 +40,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 /* No need to use sprintf to get the tty name--we get that from _getpty.  */
 #define PTY_TTY_NAME_SPRINTF
 /* No need to get the pty name at all.  */
-#ifdef PTY_NAME_SPRINTF
 #undef PTY_NAME_SPRINTF
-#endif
 #define PTY_NAME_SPRINTF
 #ifdef emacs
 char *_getpty();