diff options
author | Wayne Davison <wayned@samba.org> | 2004-04-25 16:10:09 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-04-25 16:10:09 +0000 |
commit | 8b2869c0d248af7658d90d79aea3ce81b3ccdf62 (patch) | |
tree | 7eedcada6814cc29d53c558ba49b36b5bf2ec8cf /popt | |
parent | 82a51ea53d967d95878b6c4a2dbc9636b117165f (diff) | |
download | android_external_rsync-8b2869c0d248af7658d90d79aea3ce81b3ccdf62.tar.gz android_external_rsync-8b2869c0d248af7658d90d79aea3ce81b3ccdf62.tar.bz2 android_external_rsync-8b2869c0d248af7658d90d79aea3ce81b3ccdf62.zip |
Don't use __attribute__((__unused__)) on HP-UX w/o gcc.
Diffstat (limited to 'popt')
-rw-r--r-- | popt/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/popt/system.h b/popt/system.h index eac5fb1a..b147af71 100644 --- a/popt/system.h +++ b/popt/system.h @@ -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" |