version 1.13, 2008/10/06 20:38:33 |
version 1.14, 2017/10/09 14:51:31 |
|
|
|
|
#define xfree(a) { if ((a) != NULL) { free((void *) (a)); (a) = NULL; } } |
#define xfree(a) { if ((a) != NULL) { free((void *) (a)); (a) = NULL; } } |
|
|
#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf |
#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for DPRINTF |
*/ |
*/ |
#define DEBUG |
#define DEBUG |
#ifdef DEBUG |
#ifdef DEBUG |
/* uses have to be doubly parenthesized */ |
/* uses have to be doubly parenthesized */ |
# define dprintf(x) if (dbg) printf x |
# define DPRINTF(x) if (dbg) printf x |
#else |
#else |
# define dprintf(x) |
# define DPRINTF(x) |
#endif |
#endif |
|
|
extern int compile_time; /* 1 if compiling, 0 if running */ |
extern int compile_time; /* 1 if compiling, 0 if running */ |