diff options
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 3ac0fad5..27f5708c 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -75,9 +75,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "compiler.h" #if HAS_DEBUG_FULL -#define DBG(x) ErrorF x +void LogF(const char *f, ...); +#define DBG(x) LogF x +#define ERR(x) ErrorF x #else #define DBG(x) +#define ERR(x) #endif #define DEBUG_NO_BLT 0 |