diff options
-rw-r--r-- | tools/lib/h5diff.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 7209e14..c1f45c7 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -20,13 +20,19 @@ /* * Debug printf macros. The prefix allows output filtering by test scripts. */ +#ifdef debug #define h5diffdebug(x) fprintf(stderr, "h5diff debug: " x) #define h5diffdebug2(x1, x2) fprintf(stderr, "h5diff debug: " x1, x2) #define h5diffdebug3(x1, x2, x3) fprintf(stderr, "h5diff debug: " x1, x2, x3) #define h5diffdebug4(x1, x2, x3, x4) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4) #define h5diffdebug5(x1, x2, x3, x4, x5) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4, x5) -#define h5diffdebug6(x1, x2, x3, x4, x5, x6) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4, x5, x6) - +#else +#define h5diffdebug(x) +#define h5diffdebug2(x) +#define h5diffdebug3(x) +#define h5diffdebug4(x) +#define h5diffdebug5(x) +#endif /*------------------------------------------------------------------------- |