pnoltes commented on a change in pull request #253:
URL: https://github.com/apache/celix/pull/253#discussion_r439971625
##########
File path: libs/framework/src/celix_log.c
##########
@@ -26,6 +26,7 @@
#include "celix_log.h"
#include "celix_threads.h"
#include "celix_array_list.h"
+#include "memstream/open_memstream.h"
Review comment:
Note that lib utils will add a public compile definition if no memstream is
available.
Snippet CMakelists.txt lib utils:
```CMake
if (NOT OPEN_MEMSTREAM_EXISTS)
target_compile_definitions(utils PUBLIC -DNO_MEMSTREAM_AVAILABLE)
endif ()
```
so the following should work:
```C
#ifdef NO_MEMSTREAM_AVAILABLE
#include "memstream/open_memstream.h"
#endif
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]