summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-04-09 22:25:33 +0000
committerWayne Davison <wayned@samba.org>2004-04-09 22:25:33 +0000
commita3779426b693a90a79aa872dc2e02ddaf45cfcf0 (patch)
tree4f045784f0507bc46a3430d7208969ac137b1c6c /rsync.h
parent2f5ca63d928fa751f348aecd4afcf586c1d0c1cf (diff)
downloadrsync-a3779426b693a90a79aa872dc2e02ddaf45cfcf0.tar.gz
rsync-a3779426b693a90a79aa872dc2e02ddaf45cfcf0.tar.bz2
rsync-a3779426b693a90a79aa872dc2e02ddaf45cfcf0.zip
UNUSED() misbehaves on HP-UX, not AIX.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.h b/rsync.h
index 6a505977..b005f906 100644
--- 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