diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-06-17 20:09:13 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-06-17 20:09:13 +0000 |
commit | d93c4e80b3cf1e04cef218aef32a77be8b7bcd2f (patch) | |
tree | db4efeb1c3f480ae05cc30c252a5b757e610f2c5 /aio.c | |
parent | 0c5619538f719d398d04e5a54fe1c099dea56572 (diff) | |
download | strace-d93c4e80b3cf1e04cef218aef32a77be8b7bcd2f.tar.gz |
Consistenly use #ifdef to check for AC_DEFINE'd macros
* aio.c (print_common_flags): Use #ifdef in the check for
HAVE_STRUCT_IOCB_U_C_FLAGS.
* defs.h: Use #ifdef in the check for HAVE_LITTLE_ENDIAN_LONG_LONG.
* net.c: Use #ifdef in the check for HAVE_SENDMSG.
* syscall.c (dumpio): Likewise.
* printstat.h (DO_PRINTSTAT): Use #ifdef in checks for
HAVE_STRUCT_STAT_ST_* macros.
* util.c: Use #ifdef in checks for HAVE_SYS_XATTR_H.
Diffstat (limited to 'aio.c')
-rw-r--r-- | aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ tprint_lio_opcode(unsigned cmd) static void print_common_flags(struct iocb *iocb) { -#if HAVE_STRUCT_IOCB_U_C_FLAGS +#ifdef HAVE_STRUCT_IOCB_U_C_FLAGS if (iocb->u.c.flags & IOCB_RESFD) tprintf(", resfd=%d", iocb->u.c.resfd); if (iocb->u.c.flags & ~IOCB_RESFD) |