mirror of https://github.com/xiph/flac
add FLAC__ASSERT_DECLARATION macro
This commit is contained in:
parent
75c49a6a5f
commit
e3c6a4c205
|
@ -24,8 +24,10 @@
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#define FLAC__ASSERT(x) assert(x)
|
#define FLAC__ASSERT(x) assert(x)
|
||||||
|
#define FLAC__ASSERT_DECLARATION(x) x
|
||||||
#else
|
#else
|
||||||
#define FLAC__ASSERT(x)
|
#define FLAC__ASSERT(x)
|
||||||
|
#define FLAC__ASSERT_DECLARATION(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue