mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-28 08:48:39 -05:00
Added a define for WIFEXITED() that is used if one is missing.
This commit is contained in:
3
rsync.h
3
rsync.h
@@ -857,6 +857,9 @@ size_t strlcat(char *d, const char *s, size_t bufsize);
|
||||
#ifndef WEXITSTATUS
|
||||
#define WEXITSTATUS(stat) ((int)(((stat)>>8)&0xFF))
|
||||
#endif
|
||||
#ifndef WIFEXITED
|
||||
#define WIFEXITED(stat) ((int)((stat)&0xFF) == 0)
|
||||
#endif
|
||||
|
||||
#define exit_cleanup(code) _exit_cleanup(code, __FILE__, __LINE__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user