always_inline d_debugbreak() so that debugger stops in the source instead of dxxerror.h

This commit is contained in:
Bradley Bell 2014-12-07 19:01:55 -08:00
parent cf9675c505
commit 73690ed525

View file

@ -63,6 +63,10 @@ void Error(const char *func, unsigned line, const char *fmt,...) __noreturn __at
#endif
/* Allow macro override */
#if defined __GNUC__
__attribute__((always_inline))
#endif
static inline void d_debugbreak()
{
/* If NDEBUG, expand to nothing */