Files
libcoap/config.h.lwip
T
chrysn d09f2e29b9 make lwip port buildable again
this fixes

* add coap_tick_diff_t from 3f3c8dc63f
* add COAP_PACKAGE_NAME etc required since 122200d3fd
2015-01-13 10:13:57 +01:00

26 lines
595 B
Plaintext

#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <lwip/opt.h>
#include <lwip/debug.h>
#include <lwip/def.h> /* provide ntohs, htons */
#define WITH_LWIP 1
#define PACKAGE_NAME "libcoap-lwip"
#define PACKAGE_VERSION "?"
#define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION
#define assert(x) LWIP_ASSERT("CoAP assert failed", x)
/* it's just provided by libc. i hope we don't get too many of those, as
* actually we'd need autotools again to find out what environment we're
* building in */
#define HAVE_STRNLEN 1
#define HAVE_LIMITS_H
#define COAP_RESOURCES_NOHASH
#endif /* _CONFIG_H_ */