summaryrefslogtreecommitdiff
path: root/ext/pty/pty.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-01-18 09:01:03 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-01-18 09:52:15 -0500
commitffda21b7ba451b8fd874e9c8c2162c55053caa1e (patch)
tree0acbf6b73b7d5c1f6e175a6ac7fb087aad3baf1a /ext/pty/pty.c
parent54568c949b587f1e71ac38a478696f5c872bb643 (diff)
[Feature #18491] Drop support for HP-UX
IA64 support was dropped in ticket #15894, so we can drop support for HP-UX.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5457
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r--ext/pty/pty.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 72074f7421..cb663ab2de 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -389,14 +389,7 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg,
c"0",c"1",c"2",c"3",c"4",c"5",c"6",c"7", \
c"8",c"9",c"a",c"b",c"c",c"d",c"e",c"f"
-#if defined(__hpux)
- static const char MasterDevice[] = "/dev/ptym/pty%s";
- static const char SlaveDevice[] = "/dev/pty/tty%s";
- static const char deviceNo[][3] = {
- HEX1("p"), HEX1("q"), HEX1("r"), HEX1("s"),
- HEX1("t"), HEX1("u"), HEX1("v"), HEX1("w"),
- };
-#elif defined(_IBMESA) /* AIX/ESA */
+#if defined(_IBMESA) /* AIX/ESA */
static const char MasterDevice[] = "/dev/ptyp%s";
static const char SlaveDevice[] = "/dev/ttyp%s";
static const char deviceNo[][3] = {