From a3779426b693a90a79aa872dc2e02ddaf45cfcf0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 9 Apr 2004 22:25:33 +0000 Subject: [PATCH] UNUSED() misbehaves on HP-UX, not AIX. --- rsync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1