Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d0d0e41
)
Don't define NORETURN for older gcc versions.
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 22:29:33 +0000
(22:29 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 22:29:33 +0000
(22:29 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
735f821
..
d2e328e
100644
(file)
--- 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"