mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
[VFATLIB]
Hint for future and current developers: there's a hidden feature in ReactOS, you can build it locally before committing, so that you can check whether your commit breaks build... Amazing, isn't it? svn path=/trunk/; revision=71017
This commit is contained in:
parent
14590f92cf
commit
34c525c85d
|
@ -32,7 +32,7 @@ DECLSPEC_NORETURN // __attribute((noreturn))
|
|||
void die_func(const char *msg, ...);
|
||||
#define die(msg, ...) \
|
||||
do { \
|
||||
die_func("DIE! (%s:%d) " msg "\n", __RELFILE__, __LINE__, ##__VA_ARGS__) \
|
||||
die_func("DIE! (%s:%d) " msg "\n", __RELFILE__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
/* Displays a prinf-style message and terminates the program. */
|
||||
|
@ -42,7 +42,7 @@ DECLSPEC_NORETURN // __attribute((noreturn))
|
|||
void pdie_func(const char *msg, ...);
|
||||
#define pdie(msg, ...) \
|
||||
do { \
|
||||
pdie_func("P-DIE! (%s:%d) " msg "\n", __RELFILE__, __LINE__, ##__VA_ARGS__) \
|
||||
pdie_func("P-DIE! (%s:%d) " msg "\n", __RELFILE__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
/* Like die, but appends an error message according to the state of errno. */
|
||||
|
|
Loading…
Reference in a new issue