aboutsummaryrefslogtreecommitdiff
path: root/opcodes/iq2000-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/iq2000-opc.h')
-rw-r--r--opcodes/iq2000-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/iq2000-opc.h b/opcodes/iq2000-opc.h
index c929cd5..5e2eff4 100644
--- a/opcodes/iq2000-opc.h
+++ b/opcodes/iq2000-opc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef IQ2000_OPC_H
#define IQ2000_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- opc.h */
/* Allows reason codes to be output when assembler errors occur. */
@@ -178,4 +182,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* IQ2000_OPC_H */