diff options
| author | bakkeby <[email protected]> | 2020-09-07 17:48:58 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-07 17:48:58 +0200 |
| commit | 4379517c25b136f4628c436254a54852542ebadf (patch) | |
| tree | 8513e13abffb2185dc2d6ae4e48063a7d9a180e1 /util.h | |
| parent | 260bd11a53d35a63fc722bb64cd417cc942c1858 (diff) | |
| download | dwm-flexipatch-4379517c25b136f4628c436254a54852542ebadf.tar.gz dwm-flexipatch-4379517c25b136f4628c436254a54852542ebadf.zip | |
Adding IPC v1.5.5 patch
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8,5 +8,11 @@ #endif #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) +#ifdef _DEBUG +#define DEBUG(...) fprintf(stderr, __VA_ARGS__) +#else +#define DEBUG(...) +#endif + void die(const char *fmt, ...); void *ecalloc(size_t nmemb, size_t size); |
