From f75f7bde4cedc36d5ca1289988b3daebb80528d2 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 22 Apr 2014 23:45:41 -0700 Subject: Allow enabling src/fc DEBUG helpers via CPPFLAGS Instead of editing fsio.h to turn on debugging logs, just add -DDEBUG to CPPFLAGS when building. Signed-off-by: Alan Coopersmith --- src/fc/fsio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fc/fsio.h') 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; -- cgit v1.2.3