Wrap BFD headers in extern "C"
[deliverable/binutils-gdb.git] / bfd / mach-o.h
index bc694ba5d445465d97cfafe31e2597b9550356f6..0445398932ac8a1f68a75a788cf04bc04f66d16f 100644 (file)
 #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_ */
This page took 0.023911 seconds and 4 git commands to generate.