Commit 615174f4 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Compil fix

parent b1a37f6b
...@@ -65,10 +65,10 @@ LINPHONE_BEGIN_NAMESPACE ...@@ -65,10 +65,10 @@ LINPHONE_BEGIN_NAMESPACE
void l_assert (const char *condition, const char *file, int line); void l_assert (const char *condition, const char *file, int line);
#ifdef DEBUG #ifndef DEBUG
#define L_ASSERT(CONDITION) static_cast<void>(false && (CONDITION)) #define L_ASSERT(CONDITION) static_cast<void>(false && (CONDITION))
#else #else
#define L_ASSERT(CONDITION) ((CONDITION) ? static_cast<void>(0) : l_assert(#CONDITION, __FILE__, __LINE__)) #define L_ASSERT(CONDITION) ((CONDITION) ? static_cast<void>(0) : LINPHONE_NAMESPACE::l_assert(#CONDITION, __FILE__, __LINE__))
#endif #endif
// Allows access to private internal data. // Allows access to private internal data.
......
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