mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-11-09 21:32:02 +05:30
reverse-ramdisk.c: simplify macro line_fail
This commit is contained in:
parent
5f83c22ce8
commit
d08f28b6e8
@ -29,9 +29,7 @@ To-Do: Add thread-safe versions of functions (use postfix `_r`)
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
# define line_fail(x) do { \
|
||||
printf("failed on line %d\n", __LINE__ + x); \
|
||||
} while (0)
|
||||
# define line_fail(x) printf("failed on line %d\n", __LINE__ + x)
|
||||
#else
|
||||
# define line_fail(x)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user