Logging: define `BT_LOG*_SUPPORTED` when logging is supported
[babeltrace.git] / src / lib / lib-logging.h
index 59e85591cea45141f07a4a46036a5f89610ae5dd..7bb36c99e2b94edf6288d23759171fd0732849e3 100644 (file)
@@ -23,7 +23,7 @@
  * SOFTWARE.
  */
 
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <stdarg.h>
 
 #ifndef BT_LOG_TAG
@@ -190,4 +190,6 @@ int bt_lib_log_level;
 void bt_lib_log(const char *func, const char *file, unsigned line,
                int lvl, const char *tag, const char *fmt, ...);
 
+#define BT_LIB_LOG_SUPPORTED
+
 #endif /* BABELTRACE_LIB_LOGGING_INTERNAL_H */
This page took 0.025102 seconds and 4 git commands to generate.