From 8d5d6ec6e7dd777a058fbd9b08372a4fba8737b9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 14 Apr 2024 20:35:34 +0900 Subject: [PATCH] [pty] Fix missing `or` --- ext/pty/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index 1b0958b484a367..da3655cf4d7118 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -17,7 +17,7 @@ if openpt have_func("ptsname_r") or have_func("ptsname") end - if openpt + if openpt or (util or have_func("openpty")) or have_func("_getpty") or have_func("ioctl")