Instead of editing fsio.h to turn on debugging logs, just add
-DDEBUG to CPPFLAGS when building.

Signed-off-by: Alan Coopersmith <[email protected]>
---
 src/fc/fsio.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fc/fsio.h b/src/fc/fsio.h
index 2bb8e0b..fa1e7d8 100644
--- a/src/fc/fsio.h
+++ b/src/fc/fsio.h
@@ -26,8 +26,9 @@
 #ifndef        _FSIO_H_
 #define        _FSIO_H_
 
-#undef DEBUG
+#ifdef DEBUG
 #define        REQUEST_LOG_SIZE        100
+#endif
 
 typedef struct _fs_fpe_alternate {
     char       *name;
-- 
1.7.9.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to