Commit e4ef0bfd authored by Simon Morlat's avatar Simon Morlat

Fix usage of ORTP_LOG_DOMAIN and BCTBX_LOG_DOMAIN

parent 1ec8cf4d
......@@ -28,14 +28,7 @@
#include <ortp/port.h>
#ifdef BCTBX_LOG_DOMAIN
#undef BCTBX_LOG_DOMAIN
#endif
#ifndef ORTP_LOG_DOMAIN
#define ORTP_LOG_DOMAIN "ortp"
#endif
#define BCTBX_LOG_DOMAIN ORTP_LOG_DOMAIN
#define ORTP_LOG_DOMAIN BCTBX_LOG_DOMAIN
#include "bctoolbox/logging.h"
......
......@@ -64,6 +64,10 @@ set(ORTP_SOURCE_FILES_C
)
set(ORTP_SOURCE_FILES_CXX )
add_definitions(
-DBCTBX_LOG_DOMAIN="ortp"
)
if(WIN32)
list(APPEND ORTP_SOURCE_FILES_C dll_entry.c)
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment