bpo-42029: Remove IRIX code (GH-23023)

IRIX code was slowy removed in Python 2.4 (--with-sgi-dl), Python 3.3
(Irix threads), and Python 3.7.
This commit is contained in:
Victor Stinner 2020-10-29 15:16:23 +01:00 committed by GitHub
parent 350526105f
commit 5776663675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 25 deletions

View file

@ -6763,12 +6763,11 @@ error:
/* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */
/* 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
# define DEV_PTY_FILE "/dev/ptc"
# define HAVE_DEV_PTMX
#else
#define DEV_PTY_FILE "/dev/ptmx"
# define DEV_PTY_FILE "/dev/ptmx"
#endif
#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_DEV_PTMX)