From 789202ccb87faacfb927eba85cf99e998804eced Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Sun, 10 May 2020 13:27:39 +0200 Subject: [PATCH] [RIOT] net.h: exclude coap_io_process_with_fds() RIOT supports fd_set only for BOARD=native. For now, coap_io_process_with_fds() is completely disabled on RIOT as it is not yet implemented in coap_io_riot.c, anyway. --- include/coap2/net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/coap2/net.h b/include/coap2/net.h index f32c3917..7ad501b8 100644 --- a/include/coap2/net.h +++ b/include/coap2/net.h @@ -794,6 +794,7 @@ coap_run_once(coap_context_t *ctx, uint32_t timeout_ms) return coap_io_process(ctx, timeout_ms); } +#ifndef RIOT_VERSION /** * The main message processing loop with additional fds for internal select. * @@ -824,6 +825,7 @@ coap_run_once(coap_context_t *ctx, uint32_t timeout_ms) int coap_io_process_with_fds(coap_context_t *ctx, uint32_t timeout_ms, int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds); +#endif /* !RIOT_VERSION */ /** * Iterates through all the coap_socket_t structures embedded in endpoints or