diff options
Diffstat (limited to 'contrib/one-true-awk/awk.h')
-rw-r--r-- | contrib/one-true-awk/awk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/one-true-awk/awk.h b/contrib/one-true-awk/awk.h index 25fed14..4b2cb8f 100644 --- a/contrib/one-true-awk/awk.h +++ b/contrib/one-true-awk/awk.h @@ -30,6 +30,8 @@ typedef unsigned char uschar; #define xfree(a) { if ((a) != NULL) { free((char *) a); a = NULL; } } +#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf +*/ #define DEBUG #ifdef DEBUG /* uses have to be doubly parenthesized */ |