mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-25 17:19:46 +05:30
reverse-ramdisk.c: define DBG_PRINT
if TEST
is defined
This commit is contained in:
parent
226cb79663
commit
57730252f0
@ -32,12 +32,16 @@
|
||||
|
||||
#ifdef DEBUG
|
||||
# define LINE_FAIL(x) printf("failed on line %d\n", __LINE__ + x)
|
||||
#else
|
||||
# define LINE_FAIL(x)
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) || defined(TEST)
|
||||
# define DBG_PRINT(...) do { \
|
||||
printf(__VA_ARGS__); \
|
||||
fflush(stdout); \
|
||||
} while (0)
|
||||
#else
|
||||
# define LINE_FAIL(x)
|
||||
# define DBG_PRINT(...)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user