* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
authorMark Kettenis <kettenis@gnu.org>
Mon, 19 Jun 2000 19:33:35 +0000 (19:33 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 19 Jun 2000 19:33:35 +0000 (19:33 +0000)
CORE_VERSION_1.

bfd/ChangeLog
bfd/rs6000-core.c

index 3bf5a17..18038af 100644 (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.
index 2e06f55..7f6bec4 100644 (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. */