summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xconsole.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xconsole.c b/xconsole.c
index 7d3e7ec..76486a0 100644
--- a/xconsole.c
+++ b/xconsole.c
@@ -157,10 +157,6 @@ static XrmOptionDescRec options[] = {
# endif
#endif
-#if defined(_AIX)
-# define USE_PTS
-#endif
-
#if !defined (USE_FILE) || defined (linux)
# include <sys/ioctl.h>
# if defined (SVR4) || defined (USE_PTS)
@@ -784,11 +780,7 @@ get_pty(int *pty, int *tty)
static char ttydev[64], ptydev[64];
#if defined (SVR4) || defined (USE_PTS)
-#if defined (_AIX)
- if ((*pty = open ("/dev/ptc", O_RDWR)) < 0)
-#else
if ((*pty = open ("/dev/ptmx", O_RDWR)) < 0)
-#endif
return 1;
grantpt(*pty);
unlockpt(*pty);