Get rid of warning on IRIX

This commit is contained in:
Neal Norwitz 2003-03-21 03:08:31 +00:00
parent 82d61956fa
commit 2deaddb0d6
1 changed files with 2 additions and 1 deletions

View File

@ -2573,7 +2573,8 @@ posix_fork(PyObject *self, PyObject *noargs)
#endif
/* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */
#ifdef HAVE_DEV_PTC
/* IRIX has both /dev/ptc and /dev/ptmx, use ptmx */
#if defined(HAVE_DEV_PTC) && !defined(HAVE_DEV_PTMX)
#define DEV_PTY_FILE "/dev/ptc"
#define HAVE_DEV_PTMX
#else