introduce WITH_POSIX (as compared to WITH_COAP etc)

this will make reading the ifdefed sections easier.

as the typedef struct __coap_address_t {...}; /
define coap_address_t __coap_address_t trick is not needed any more to
detect whether a WITH defined coap_address_t or not, it was removed.
This commit is contained in:
chrysn committed 2013-11-17 16:32:09 +01:00
1 parent e32a0f3497
commit 8fac6ed0fa
5 files changed
+15 -20

No files matched your search

+2 -2
View File
@@ -52,8 +52,8 @@ void coap_log_impl(coap_log_t level, const char *format, ...);
#include "pdu.h"
void coap_show_pdu(const coap_pdu_t *);
struct __coap_address_t;
size_t coap_print_addr(const struct __coap_address_t *, unsigned char *, size_t);
struct coap_address_t;
size_t coap_print_addr(const struct coap_address_t *, unsigned char *, size_t);
#else