always_inline d_debugbreak() so that debugger stops in the source instead of dxxerror.h
This commit is contained in:
parent
cf9675c505
commit
73690ed525
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue