mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-03 03:01:05 +03:00
versioning: Include api version in non-posix coap_config.h/coap.h .in files
Add in some new .in files, but still keep original files in distribution files. Essentially, use coap@LIBCOAP_API_VERSION@ (or equivalent) instead of coap2. so resultant files have the correct value. coap_config.h.lwip.in: (new) coap_config.h.riot.in: (new) include/coap2/coap.h.windows.in: (new) As per https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html, many of the coap2/ prefixes are not required for #include, so these have been removed. Make sure that the test suite accesses the latest source version of coap@LIBCOAP_API_VERSION@/coap.h by creating a tests/test_common.h.in that makes the correct tests/test_common.h which is included in all of the test suite files.
This commit is contained in:
1 parent
4cab59dbbf
commit
91737ccb46
42 files changed
+587
-235
No files matched your search
@@ -153,7 +153,7 @@ void coap_log_impl(coap_log_t level, const char *format, ...);
|
||||
} while(0)
|
||||
#endif
|
||||
|
||||
#include "coap2/pdu.h"
|
||||
#include "pdu.h"
|
||||
|
||||
/**
|
||||
* Defines the output mode for the coap_show_pdu() function.
|
||||
|
||||
Reference in new issue
Block a user