From b13dd011104f3b83019a918e91ec1bbf977cadb7 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Tue, 12 Jul 2011 12:57:40 +0800 Subject: [PATCH] libfreerdp-utils/debug: add DEBUG_WARN. --- include/freerdp/utils/debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/freerdp/utils/debug.h b/include/freerdp/utils/debug.h index 3810cba..c59efaf 100644 --- a/include/freerdp/utils/debug.h +++ b/include/freerdp/utils/debug.h @@ -34,6 +34,7 @@ #define DEBUG_NULL(fmt, ...) do { } while (0) #define DEBUG_PRINT(_dbg_str, fmt, ...) printf(_dbg_str fmt "\n" , __FUNCTION__, __LINE__, ## __VA_ARGS__) #define DEBUG_CLASS(_dbg_class, fmt, ...) DEBUG_PRINT("DBG_" #_dbg_class " %s (%d): ", fmt, ## __VA_ARGS__) +#define DEBUG_WARN(fmt, ...) DEBUG_PRINT("Warning %s (%d): ", fmt, ## __VA_ARGS__) #ifdef WITH_DEBUG #define DEBUG(fmt, ...) DEBUG_PRINT("DBG %s (%d): ", fmt, ## __VA_ARGS__) -- 2.7.4