Fix build.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 19 Nov 2007 19:22:30 +0000 (19:22 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 22 Nov 2007 11:44:13 +0000 (11:44 +0000)
src/mesa/pipe/i915simple/i915_debug.h

index 63f7195..13197f3 100644 (file)
@@ -69,7 +69,7 @@ void i915_print_ureg(const char *msg, unsigned ureg);
 #define DEBUG_SURFACE    0x2000
 #define DEBUG_WINSYS     0x4000
 
-#ifdef DEBUG
+#if defined(DEBUG) && defined(FILE_DEBUG_FLAG)
 
 #include "pipe/p_winsys.h"