aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mep-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mep-opc.h')
-rw-r--r--opcodes/mep-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/mep-opc.h b/opcodes/mep-opc.h
index d4a8424..e7a6224 100644
--- a/opcodes/mep-opc.h
+++ b/opcodes/mep-opc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef MEP_OPC_H
#define MEP_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- opc.h */
#undef CGEN_DIS_HASH_SIZE
@@ -514,4 +518,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* MEP_OPC_H */