X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7447419266981a80c4191403df3b84b5b3467f90..8b2869c0d248af7658d90d79aea3ce81b3ccdf62:/popt/system.h diff --git a/popt/system.h b/popt/system.h index 85daed3b..b147af71 100644 --- a/popt/system.h +++ b/popt/system.h @@ -69,5 +69,10 @@ char *alloca (); #define xstrdup(_str) strdup(_str) #endif /* HAVE_MCHECK_H && defined(__GNUC__) */ +#if defined(__GNUC__) || !(defined(__hpux) || defined(_hpux) || defined (hpux)) +#define UNUSED(x) x __attribute__((__unused__)) +#else +#define UNUSED(x) x +#endif #include "popt.h"