mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
coap_net.h: add ifdef WITH_LWIP around lwip functions
This commit is contained in:
1 parent
a705e04ced
commit
1c97907f2f
3 files changed
+6
-1
No files matched your search
@@ -168,6 +168,9 @@ check_synopsis(const char *file) {
|
||||
exit_code = 1;
|
||||
return;
|
||||
}
|
||||
if (!strcmp(file, "coap_lwip.txt.in")) {
|
||||
fprintf(fpcode, "#define WITH_LWIP_MAN_CHECK\n");
|
||||
}
|
||||
fprintf(fpcode, "#include <coap3/coap.h>\n");
|
||||
fprintf(fpcode, "#ifdef __GNUC__\n");
|
||||
fprintf(fpcode, "#define U __attribute__ ((unused))\n");
|
||||
|
||||
Reference in new issue
Block a user