mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Get rid of warning on IRIX
This commit is contained in:
parent
82d61956fa
commit
2deaddb0d6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue