+1999-12-27  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (pe_bfd_object_p): Only define for PE format
+       targets. 
+
 1999-12-17  Nick Clifton  <nickc@cygnus.com>
 
        * coff-i386.c (i3coff_object_p): Delete.
 
 
 #define coff_get_symbol_info _bfd_pe_get_symbol_info
 
+#ifdef COFF_IMAGE_WITH_PE
 static const bfd_target *
 pe_bfd_object_p (abfd)
      bfd * abfd;
   
   if (signature == 0xffff0000)
     {
-      _bfd_error_handler (_("%s: Import Library Format archives are not currently supported"),
+      _bfd_error_handler (
+_("%s: Import Library Format archives are not currently supported"),
                          bfd_get_filename (abfd));
       bfd_set_error (bfd_error_wrong_format);
        
 }
 
 #define coff_object_p pe_bfd_object_p
+#endif