Merge pull request #895 from bmiklautz/renamedebug

utils/debug: renamed DEBUG to DEBUG_MSG
This commit is contained in:
Marc-André Moreau 2013-01-14 06:28:51 -08:00
commit 9f4b41d377
3 changed files with 4 additions and 4 deletions

View File

@ -665,7 +665,7 @@ UINT32 xf_detect_cpu()
if (edx & (1<<26))
{
DEBUG("SSE2 detected");
DEBUG_MSG("SSE2 detected");
cpu_opt |= CPU_SSE2;
}

View File

@ -28,9 +28,9 @@
#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__)
#define DEBUG_MSG(fmt, ...) DEBUG_PRINT("DBG %s (%d): ", fmt, ## __VA_ARGS__)
#else
#define DEBUG(fmt, ...) DEBUG_NULL(fmt, ## __VA_ARGS__)
#define DEBUG_MSG(fmt, ...) DEBUG_NULL(fmt, ## __VA_ARGS__)
#endif
#endif /* FREERDP_UTILS_DEBUG_H */

View File

@ -285,7 +285,7 @@ MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_read(BYTE* data, UINT32 data_size, UINT3
if (lenConfiguration != 0x9 || typeConfiguration != 0x2)
{
DEBUG("%s: len and type must be 0x9 and 0x2 , but it is 0x%x and 0x%x",
DEBUG_MSG("%s: len and type must be 0x9 and 0x2 , but it is 0x%x and 0x%x",
lenConfiguration, typeConfiguration);
}