From: Wayne Davison Date: Fri, 9 Apr 2004 22:25:33 +0000 (+0000) Subject: UNUSED() misbehaves on HP-UX, not AIX. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/a3779426b693a90a79aa872dc2e02ddaf45cfcf0 UNUSED() misbehaves on HP-UX, not AIX. --- 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