[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/RUBY PATCH 2/8] 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@xxxxxxxxx> Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx> --- generated/ext/socket/extconf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generated/ext/socket/extconf.h b/generated/ext/socket/extconf.h index 786117d..d15f98d 100644 --- a/generated/ext/socket/extconf.h +++ b/generated/ext/socket/extconf.h @@ -8,7 +8,7 @@ #define HAVE_NETPACKET_PACKET_H 1 #define HAVE_NET_ETHERNET_H 1 #define HAVE_SYS_UN_H 1 -#define HAVE_IFADDRS_H 1 +/*#define HAVE_IFADDRS_H 1*/ #define HAVE_SYS_IOCTL_H 1 #define HAVE_NET_IF_H 1 #define HAVE_SYS_PARAM_H 1 @@ -105,11 +105,11 @@ #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define GAI_STRERROR_CONST 1 -#define HAVE_ACCEPT4 1 +/*#define HAVE_ACCEPT4 1*/ #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_GETSERVBYPORT 1 -#define HAVE_GETIFADDRS 1 +/*#define HAVE_GETIFADDRS 1*/ #define HAVE_IF_INDEXTONAME 1 #define NEED_IF_INDEXTONAME_DECL 1 #define HAVE_IF_NAMETOINDEX 1 -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |