Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/Lib/CommonLib/TypeDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,9 @@ class UnsupportedFeatureException : public Exception
#define CHECK( cond, msg ) { if UNLIKELY( cond ) { THROW_RECOVERABLE( msg << "\nERROR CONDITION: " << #cond ); } }
#define CHECK_UNSUPPORTED( cond, msg ) { if UNLIKELY( cond ) { THROW_UNSUPPORTED( msg << "\nERROR CONDITION: " << #cond ); } }

#if defined( _DEBUG )
#if defined( FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION ) // CHECKD should not abort, when running fuzzing builds, to allow fuzzing to continue
# define CHECKD( cond, msg ) CHECK_WARN( cond, msg )
#elif defined( _DEBUG )
# define CHECKD( cond, msg ) { if UNLIKELY( cond ) { ABORT ( msg << "\nERROR CONDITION: " << #cond ); } }
#else
# define CHECKD( cond, msg )
Expand Down
Loading