[pty] Fix missing or

This commit is contained in:
Nobuyoshi Nakada 2024-04-14 20:35:34 +09:00
parent 3368913be3
commit 8d5d6ec6e7
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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")