diff options
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r-- | bfd/mach-o.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h index bc694ba5d44..0445398932a 100644 --- a/bfd/mach-o.h +++ b/bfd/mach-o.h @@ -24,6 +24,10 @@ #include "bfd.h" #include "mach-o/loader.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct bfd_mach_o_header { unsigned long magic; @@ -746,4 +750,8 @@ bfd_mach_o_backend_data; #define SYM_MACHO_FIELDS_UNSET ((bfd_vma) -1) #define SYM_MACHO_FIELDS_NOT_VALIDATED ((bfd_vma) -2) +#ifdef __cplusplus +} +#endif + #endif /* _BFD_MACH_O_H_ */ |