]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: ppc: fix compilation on AIX 7.1 due to st_pad name collisions
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Mar 2012 05:04:18 +0000 (05:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 14 Mar 2012 05:04:18 +0000 (05:04 +0000)
commit51e40b125fca4d48b283e535955f683dce935046
tree6ee3730933627cf0f318bf46038e45d003fb18d5
parentff1e452654d9ddb207b0c26c4baf39e254d9362b
sim: ppc: fix compilation on AIX 7.1 due to st_pad name collisions

AIX 7.1 defines st_pad[123] to st_[amc]tim.tv_pad, respectively,
breaking declaration of st_pad[123] members in struct solaris_stat.
Undefine them as this is no less terrible than other solutions (like
renaming the fields and losing the binding to Solaris' names).

From: Michael Haubenwallner <haubi@s01en24.gentoo.org>
sim/ppc/ChangeLog
sim/ppc/emul_unix.c