mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-11 11:20:40 +03:00
20 lines
455 B
Plaintext
20 lines
455 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 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 COAP_RESOURCES_NOHASH
|
|
|
|
#endif /* _CONFIG_H_ */
|