Always compile dbg() statements

This commit is contained in:
Rodrigo Arias 2023-02-23 20:04:07 +01:00 committed by Rodrigo Arias Mallo
parent 53c10aab2d
commit c39e75a8d5

View File

@ -24,7 +24,7 @@ void vdie(const char *func, const char *errstr, ...);
#ifdef ENABLE_DEBUG
# define dbg(...) verr(__func__, __VA_ARGS__)
#else
# define dbg(...)
# define dbg(...) do { if (0) { verr(__func__, __VA_ARGS__); } } while(0)
#endif
#define likely(x) __builtin_expect(!!(x), 1)