From 693a74c286c3712a5a8e5ed99f6f6b82ed43a080 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 13 Feb 2017 11:43:25 +0100 Subject: [PATCH] For tiny targtes, LWIP_RAND is optional -> fix compile time checks --- src/core/init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/init.c b/src/core/init.c index 0cc90a88..d9170216 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -215,9 +215,6 @@ PACK_STRUCT_END #if !LWIP_ETHERNET && (LWIP_ARP || PPPOE_SUPPORT) #error "LWIP_ETHERNET needs to be turned on for LWIP_ARP or PPPOE_SUPPORT" #endif -#if (LWIP_IGMP || LWIP_IPV6) && !defined(LWIP_RAND) - #error "When using IGMP or IPv6, LWIP_RAND() needs to be defined to a random-function returning an u32_t random value (in arch/cc.h)" -#endif #if LWIP_TCPIP_CORE_LOCKING_INPUT && !LWIP_TCPIP_CORE_LOCKING #error "When using LWIP_TCPIP_CORE_LOCKING_INPUT, LWIP_TCPIP_CORE_LOCKING must be enabled, too" #endif