summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-10-28 16:28:56 +0000
committerKeith Whitwell <[email protected]>2008-10-28 16:28:56 +0000
commit52e6fbb655f138f70670abdd365258873a78dabf (patch)
tree7e6cec8ee550cadda1b93752bb6a052ab0927200 /src/gallium
parent97e63437dc216c7fdb25220655ecbf26042cfec8 (diff)
gallium: recognize DEBUG as well as DBG for debugging
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/include/pipe/p_debug.h2
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 cb6196aa9fb..3b00fb9aa89 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