add FLAC__ASSERT_DECLARATION macro

This commit is contained in:
Josh Coalson 2002-05-09 05:27:17 +00:00
parent 75c49a6a5f
commit e3c6a4c205
1 changed files with 2 additions and 0 deletions

View File

@ -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