diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-07-29 00:40:35 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-07-29 00:40:35 +0000 |
commit | 6b0d9917116797e38b554397b815c555bf55a721 (patch) | |
tree | 2e515663bd5d33ca5cf3da0c88888c93e03a8b76 | |
parent | 24ffc96e3347125c213090d9c9550fbf48756459 (diff) |
Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=938 - UpdateXORG-6_7_99_2XORG-6_7_99_1
XawPrintShell per feedback and review comments.
-rw-r--r-- | man.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* $XConsortium: man.h,v 1.31 94/12/16 21:36:53 gildea Exp $ */ -/* $XdotOrg: xc/programs/xman/man.h,v 1.4 2004/06/08 02:44:35 gisburn Exp $ */ +/* $XdotOrg: xc/programs/xman/man.h,v 1.5 2004/07/01 13:54:46 alanh Exp $ */ /* Copyright (c) 1987, 1988 X Consortium @@ -78,7 +78,11 @@ from the X Consortium. #define Error(x) { printf x ; exit(EXIT_FAILURE); } #define Assertion(expr, msg) { if (!(expr)) { Error msg } } -#define Log(x) { if (True) printf x; } +#ifdef DEBUG +# define Log(x) { if(True) printf x; } +#else +# define Log(x) { if(False) printf x; } +#endif /* DEBUG */ /* * Assigning values here allows the user of Bitwise Or. |