diff options
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r-- | bfd/libcoff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h index df0e00f..ee72de3 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.h @@ -26,6 +26,10 @@ #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 |