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