AIX doesn't like our UNUSED() macro, so let's eliminate it for them.
authorWayne Davison <wayned@samba.org>
Fri, 9 Apr 2004 21:51:34 +0000 (21:51 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 9 Apr 2004 21:51:34 +0000 (21:51 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index b60f67a..6a50597 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -762,6 +762,10 @@ int inet_pton(int af, const char *src, void *dst);
 const char *get_panic_action(void);
 #endif
 
+#ifndef _AIX
 #define UNUSED(x) x __attribute__((__unused__))
+#else
+#define UNUSED(x) x
+#endif
 
 extern const char *io_write_phase, *io_read_phase;