Mesa (gallium-0.1): gallium: recognize DEBUG as well as DBG for debugging
Keith Whitwell
keithw at kemper.freedesktop.org
Tue Oct 28 16:29:06 UTC 2008
Module: Mesa
Branch: gallium-0.1
Commit: 52e6fbb655f138f70670abdd365258873a78dabf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52e6fbb655f138f70670abdd365258873a78dabf
Author: Keith Whitwell <keith at tungstengraphics.com>
Date: Tue Oct 28 16:28:56 2008 +0000
gallium: recognize DEBUG as well as DBG for debugging
---
src/gallium/include/pipe/p_debug.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h
index cb6196a..3b00fb9 100644
--- a/src/gallium/include/pipe/p_debug.h
+++ b/src/gallium/include/pipe/p_debug.h
@@ -49,7 +49,7 @@ extern "C" {
#endif
-#ifdef DBG
+#if defined(DBG) || defined(DEBUG)
#ifndef DEBUG
#define DEBUG 1
#endif
More information about the mesa-commit
mailing list