1 #ifndef COAP_CONFIG_H_ 2 #define COAP_CONFIG_H_ 3 4 #include <lwip/opt.h> 5 #include <lwip/debug.h> 6 #include <lwip/def.h> /* provide ntohs, htons */ 7 8 #define WITH_LWIP 1 9 10 #ifndef COAP_CONSTRAINED_STACK 11 #define COAP_CONSTRAINED_STACK 1 12 #endif 13 14 #define PACKAGE_NAME "libcoap-lwip" 15 #define PACKAGE_VERSION "?" 16 #define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION 17 18 #define assert(x) LWIP_ASSERT("CoAP assert failed", x) 19 20 /* it's just provided by libc. i hope we don't get too many of those, as 21 * actually we'd need autotools again to find out what environment we're 22 * building in */ 23 #define HAVE_STRNLEN 1 24 25 #define HAVE_LIMITS_H 26 27 #endif /* COAP_CONFIG_H_ */ 28