mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-27 05:40:17 +05:30
C: reverse-ramdisk.c: reformat macros
This commit is contained in:
parent
4d797a9854
commit
d36ed5f273
@ -43,17 +43,17 @@
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) || defined(TEST)
|
||||
# define DBG_PRINT(...) do { \
|
||||
printf(__VA_ARGS__); \
|
||||
fflush(stdout); \
|
||||
# define DBG_PRINT(...) do { \
|
||||
printf(__VA_ARGS__); \
|
||||
fflush(stdout); \
|
||||
} while (0)
|
||||
#else
|
||||
# define DBG_PRINT(...)
|
||||
#endif
|
||||
|
||||
#define RETREAT(s) do { \
|
||||
perror(s); \
|
||||
exit(EXIT_FAILURE); \
|
||||
#define RETREAT(s) do { \
|
||||
perror(s); \
|
||||
exit(EXIT_FAILURE); \
|
||||
} while (0)
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user