summaryrefslogtreecommitdiff
path: root/ext/pty/extconf.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-04-14 20:35:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-04-14 20:35:34 +0900
commit8d5d6ec6e7dd777a058fbd9b08372a4fba8737b9 (patch)
tree9457717353965a1fa0a84dcd8bafa5936f65944a /ext/pty/extconf.rb
parent3368913be3838d152e42bde02a94219102b61f71 (diff)
[pty] Fix missing `or`
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r--ext/pty/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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")