mirror of
git://jb55.com/damus
synced 2024-09-30 00:40:45 +00:00
16 lines
256 B
C
16 lines
256 B
C
|
|
||
|
#ifndef PROTOVERSE_DEBUG_H
|
||
|
#define PROTOVERSE_DEBUG_H
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#define unusual(...) fprintf(stderr, "UNUSUAL: " __VA_ARGS__)
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#define debug(...) printf(__VA_ARGS__)
|
||
|
#else
|
||
|
#define debug(...)
|
||
|
#endif
|
||
|
|
||
|
#endif /* PROTOVERSE_DEBUG_H */
|