Compil fix

This commit is contained in:
Sylvain Berfini 2017-09-13 10:40:41 +02:00
parent b1a37f6bd0
commit 615174f445

View file

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