* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef

CORE_VERSION_1.
This commit is contained in:
Mark Kettenis 2000-06-19 19:33:35 +00:00
parent 8c9cdfe810
commit 1605fc4f2a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-06-19 Mark Kettenis <kettenis@gnu.org>
* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
CORE_VERSION_1.
2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
* Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.

View File

@ -118,6 +118,7 @@ typedef union {
/* Union of old and new vm_info structures. */
#ifdef CORE_VERSION_1
typedef union {
#ifdef AIX_CORE_DUMPX_CORE
struct vm_infox new;
@ -126,6 +127,7 @@ typedef union {
#endif
struct vm_info old;
} VmInfo;
#endif
/* Return whether CoreHdr C is in new or old format. */