From 8d5d6ec6e7dd777a058fbd9b08372a4fba8737b9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 14 Apr 2024 20:35:34 +0900 Subject: [pty] Fix missing `or` --- ext/pty/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pty/extconf.rb') diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index 1b0958b484..da3655cf4d 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -17,7 +17,7 @@ if /mswin|mingw|bccwin/ !~ RUBY_PLATFORM 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") -- cgit v1.2.3