diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-04-22 23:45:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-04-23 00:19:55 -0700 |
commit | f75f7bde4cedc36d5ca1289988b3daebb80528d2 (patch) | |
tree | 0b9407ec1fa81df606316f31c5066cff6eb97226 /src/fc/fsio.h | |
parent | 21f5d3ec9d833b8bce08d0749b8001e1e88544ac (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/fc/fsio.h')
-rw-r--r-- | src/fc/fsio.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |