assert: optionally fall-back to assert(3)
Fall back to the system assert(3) in debug builds, which may aide in debugging. "Safe" assertions can be enabled in debug builds by setting GIT_ASSERT_HARD=0. Similarly, hard assertions can be enabled in release builds by setting GIT_ASSERT_HARD to nonzero.
Showing
src/assert_safe.h
0 → 100644
Please
register
or
sign in
to comment