mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-25 17:19:46 +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
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
# define line_fail(x) do { \
|
# define line_fail(x) printf("failed on line %d\n", __LINE__ + x)
|
||||||
printf("failed on line %d\n", __LINE__ + x); \
|
|
||||||
} while (0)
|
|
||||||
#else
|
#else
|
||||||
# define line_fail(x)
|
# define line_fail(x)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user