From 40fecab313f1660ea0f0058743456ca212221f69 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 4 Jan 2018 13:20:28 +0100 Subject: [PATCH] Introduce LWIP_TESTMODE #define to be able to make functions/variables public etc. for implementing unit tests --- src/include/lwip/opt.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index d7b2339e..930253c1 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -3217,6 +3217,13 @@ * @} */ +/** + * LWIP_TESTMODE: Changes to make unit test possible + */ +#if !defined LWIP_TESTMODE +#define LWIP_TESTMODE 0 +#endif + /* -------------------------------------------------- ---------- Performance tracking options ----------