From 2f5ca63d928fa751f348aecd4afcf586c1d0c1cf Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 9 Apr 2004 21:51:34 +0000 Subject: [PATCH] AIX doesn't like our UNUSED() macro, so let's eliminate it for them. --- rsync.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rsync.h b/rsync.h index b60f67af..6a505977 100644 --- 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; -- 2.34.1