Commit 80cb899c authored by Simon Morlat's avatar Simon Morlat

fix BCTBX_LOG_DOMAIN usage

parent 37adaa05
......@@ -52,7 +52,6 @@ typedef struct bzrtpChannelContext_struct bzrtpChannelContext_t;
#include "stateMachine.h"
/* logging */
#define BCTBX_LOG_DOMAIN "bzrtp"
#include "bctoolbox/logging.h"
#ifdef _WIN32
......
......@@ -28,6 +28,11 @@ set(SOURCE_FILES
stateMachine.c
zidCache.c
)
add_definitions(
-DBCTBX_LOG_DOMAIN="bzrtp"
)
if(POLARSSL_FOUND)
list(APPEND SOURCE_FILES cryptoPolarssl.c)
elseif(MBEDTLS_FOUND)
......
......@@ -29,6 +29,10 @@ set(TEST_SOURCES
testUtils.c
)
add_definitions(
-DBCTBX_LOG_DOMAIN="bzrtp"
)
bc_apply_compile_flags(TEST_SOURCES STRICT_OPTIONS_CPP)
add_executable(bzrtpTest ${TEST_SOURCES})
......
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