mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 13:24:15 -04:00
Don't use __attribute__((__unused__)) on HP-UX w/o gcc.
This commit is contained in:
1 parent
82a51ea53d
commit
8b2869c0d2
1 file changed
+4
@@ -69,6 +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"
|
||||
Reference in new issue
Block a user