From fc17d02451cc3470b8ae7c81d742befa96344176 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Mon, 7 Mar 2016 20:26:24 +0100 Subject: [PATCH] Fix compile with LWIP_TCPIP_CORE_LOCKING --- src/api/api_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/api_lib.c b/src/api/api_lib.c index 33bfbc14..eb3053b8 100644 --- a/src/api/api_lib.c +++ b/src/api/api_lib.c @@ -63,7 +63,7 @@ static err_t netconn_close_shutdown(struct netconn *conn, u8_t how); - +#if !LWIP_TCPIP_CORE_LOCKING /** * Call the lower part of a netconn_* function * This function is then running in the thread context @@ -90,6 +90,7 @@ tcpip_apimsg(struct api_msg *apimsg) } return ERR_VAL; } +#endif /* !LWIP_TCPIP_CORE_LOCKING */ /** * Create a new netconn (of a specific type) that has a callback function.