1 Star 0 Fork 1

Sudhesh / third_party_libcoap

forked from NaveenJS / third_party_libcoap 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
coap_config.h.lwip 708 Bytes
一键复制 编辑 原始数据 按行查看 历史
NaveenJS 提交于 2021-02-01 19:51 . Porting LibCoAP source to OHOS
#ifndef COAP_CONFIG_H_
#define COAP_CONFIG_H_
#include <lwip/opt.h>
#include <lwip/debug.h>
#include <lwip/def.h> /* provide ntohs, htons */
#define WITH_LWIP 1
#ifndef COAP_CONSTRAINED_STACK
#define COAP_CONSTRAINED_STACK 1
#endif
#ifndef COAP_DISABLE_TCP
#define COAP_DISABLE_TCP 1
#endif
#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
#endif /* COAP_CONFIG_H_ */
1
https://gitee.com/sudhesh/third_party_libcoap.git
git@gitee.com:sudhesh/third_party_libcoap.git
sudhesh
third_party_libcoap
third_party_libcoap
master

搜索帮助