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 cb6196aa9fb3fb71c25f42e326cc6ad93466dfbd..3b00fb9aa891cf0fd3505eb7e9fb98fb61888207 100644 (file)
@@ -49,7 +49,7 @@ extern "C" {
 #endif
 
 
-#ifdef DBG
+#if defined(DBG) || defined(DEBUG)
 #ifndef DEBUG
 #define DEBUG 1
 #endif