Issue #14827 has been reported by paulusASol (Paul Sonnenschein).

----------------------------------------
Bug #14827: Fails to compile on GNU/Hurd: IOV_MAX undefined
https://bugs.ruby-lang.org/issues/14827

* Author: paulusASol (Paul Sonnenschein)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0dev (2018-06-05 trunk 63572) [i686-gnu0.9]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
**Description**
The existence of the `writev()` syscall does not imply that the `IOV_MAX` macro exists.
Because on GNU/Hurd operating systems the `IOV_MAX` macro does not exist, Ruby fails to compile there.

**Reproduce**
Install a GNU/Hurd operating system and try to compile Ruby.

**The patch**
The patch simply ignores `IOV_MAX` if it is not defined.

---Files--------------------------------
ruby-changes.patch (465 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>