Clean up BSD_SYSTEM use.
* xterm.c: * process.c: * emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard for including <sys/ioctl.h>. * sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this code is only used for MSDOS.
This commit is contained in:
parent
1cd095c67c
commit
1d29df5994
5 changed files with 15 additions and 9 deletions
|
@ -1,3 +1,13 @@
|
|||
2010-03-31 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
Clean up BSD_SYSTEM use.
|
||||
* xterm.c:
|
||||
* process.c:
|
||||
* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
|
||||
for including <sys/ioctl.h>.
|
||||
* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
|
||||
code is only used for MSDOS.
|
||||
|
||||
2010-03-31 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* image.c: Add `Qextension_data'.
|
||||
|
|
|
@ -32,7 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSD_SYSTEM
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -69,12 +69,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#endif
|
||||
#endif /* HAVE_SOCKETS */
|
||||
|
||||
#if defined(BSD_SYSTEM)
|
||||
#if defined(HAVE_SYS_IOCTL_H)
|
||||
#include <sys/ioctl.h>
|
||||
#if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5)
|
||||
#include <fcntl.h>
|
||||
#endif /* HAVE_PTYS and no O_NDELAY */
|
||||
#endif /* BSD_SYSTEM */
|
||||
#endif /* HAVE_SYS_IOCTL_H */
|
||||
|
||||
#ifdef NEED_BSDTTY
|
||||
#include <bsdtty.h>
|
||||
|
|
|
@ -384,11 +384,7 @@ set_exclusive_use (fd)
|
|||
|
||||
wait_without_blocking ()
|
||||
{
|
||||
#ifdef BSD_SYSTEM
|
||||
wait3 (0, WNOHANG | WUNTRACED, 0);
|
||||
#else
|
||||
croak ("wait_without_blocking");
|
||||
#endif
|
||||
synch_process_alive = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,9 +50,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include <sys/types.h>
|
||||
#endif /* makedev */
|
||||
|
||||
#ifdef BSD_SYSTEM
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif /* ! defined (BSD_SYSTEM) */
|
||||
#endif /* ! defined (HAVE_SYS_IOCTL_H) */
|
||||
|
||||
#include "systime.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue