]> xenbits.xensource.com Git - unikraft/libs/ruby.git/commit
extensions/socket: Disable unavailable features
authorCostin Lupu <costin.lupu@cs.pub.ro>
Thu, 12 Dec 2019 17:42:33 +0000 (19:42 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 16 Dec 2019 13:21:11 +0000 (15:21 +0200)
commit7bf92cb0d1c3add35bbedf040daa7356628e4630
treef71ff2c55d4f63bf61c1a7e4948ff8ab47f8dea7
parentefffe8373645baaaa79996452d6b6fda8faa7175
extensions/socket: Disable unavailable features

This is an example of disabling features in the <extconf.h> header of an
extension. Here we disable the flags for `accept4()` and `ifaddrs` structure
and its associated functions.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@gmail.com>
generated/ext/socket/extconf.h