UNUSED() misbehaves on HP-UX, not AIX.
authorWayne Davison <wayned@samba.org>
Fri, 9 Apr 2004 22:25:33 +0000 (22:25 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 9 Apr 2004 22:25:33 +0000 (22:25 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index 6a50597..b005f90 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -762,7 +762,7 @@ int inet_pton(int af, const char *src, void *dst);
 const char *get_panic_action(void);
 #endif
 
-#ifndef _AIX
+#if !(defined(__hpux) || defined(_hpux) || defined (hpux))
 #define UNUSED(x) x __attribute__((__unused__))
 #else
 #define UNUSED(x) x