mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-01 22:54:37 -04:00
Added a define for WIFEXITED() that is used if one is missing.
This commit is contained in:
1 parent
50dfd5b4fe
commit
47b032e97f
1 file changed
+3
@@ -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