aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32c-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/m32c-opc.h')
-rw-r--r--opcodes/m32c-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/m32c-opc.h b/opcodes/m32c-opc.h
index 20758cd..e419952 100644
--- a/opcodes/m32c-opc.h
+++ b/opcodes/m32c-opc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef M32C_OPC_H
#define M32C_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- opc.h */
/* Needed for RTL's 'ext' and 'trunc' operators. */
@@ -3241,4 +3245,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* M32C_OPC_H */