AIX doesn't like our UNUSED() macro, so let's eliminate it for them.

This commit is contained in:
Wayne Davison
2004-04-09 21:51:34 +00:00
parent 0e1d98ae92
commit 2f5ca63d92

View File

@@ -762,6 +762,10 @@ int inet_pton(int af, const char *src, void *dst);
const char *get_panic_action(void);
#endif
#ifndef _AIX
#define UNUSED(x) x __attribute__((__unused__))
#else
#define UNUSED(x) x
#endif
extern const char *io_write_phase, *io_read_phase;