1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-24 22:59:49 +05:30

reverse-ramdisk.c: simplify macro line_fail

This commit is contained in:
Intel A80486DX2-66 2023-12-30 13:42:43 +03:00
parent 5f83c22ce8
commit d08f28b6e8
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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