gallium: recognize DEBUG as well as DBG for debugging
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 28 Oct 2008 16:28:56 +0000 (16:28 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 28 Oct 2008 16:28:56 +0000 (16:28 +0000)
src/gallium/include/pipe/p_debug.h

index cb6196a..3b00fb9 100644 (file)
@@ -49,7 +49,7 @@ extern "C" {
 #endif
 
 
-#ifdef DBG
+#if defined(DBG) || defined(DEBUG)
 #ifndef DEBUG
 #define DEBUG 1
 #endif