Wrap BFD headers in extern "C"
[deliverable/binutils-gdb.git] / bfd / libcoff.h
index df0e00f65ae13690310a97870d9c92c5cb060d37..ee72de3c98b2d4e52970a7ec2a031197a19ff7b6 100644 (file)
 #include "bfdlink.h"
 #include "coff-bfd.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Object file tdata; access macros.  */
 
 #define coff_data(bfd)               ((bfd)->tdata.coff_obj_data)
@@ -951,3 +955,6 @@ typedef struct
    PE object file.  */
 #define bfd_pei_p(abfd) \
   (CONST_STRNEQ ((abfd)->xvec->name, "pei-"))
+#ifdef __cplusplus
+}
+#endif
This page took 0.023702 seconds and 4 git commands to generate.