Don't use __attribute__((__unused__)) on HP-UX w/o gcc.

This commit is contained in:
Wayne Davison committed 2004-04-25 16:10:09 +00:00
1 parent 82a51ea53d
commit 8b2869c0d2
1 file changed
+4
+4
View File
@@ -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"