X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/604dbf6d942ad09ba4484cc16012746fcc17d998..7de7b49f6cfa6182837c493d497f7509b7391ec4:/rsync.h diff --git a/rsync.h b/rsync.h index 735f8216..d2e328e3 100644 --- a/rsync.h +++ b/rsync.h @@ -664,10 +664,15 @@ struct chmod_mode_struct; #ifndef __GNUC__ #define __attribute__(x) +# if __GNUC__ <= 2 +# define NORETURN +# endif #endif #define UNUSED(x) x __attribute__((__unused__)) +#ifndef NORETURN #define NORETURN __attribute__((__noreturn__)) +#endif #include "proto.h"