aboutsummaryrefslogtreecommitdiff
path: root/opcodes/iq2000-desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/iq2000-desc.h')
-rw-r--r--opcodes/iq2000-desc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/iq2000-desc.h b/opcodes/iq2000-desc.h
index 4379fbe..5238651 100644
--- a/opcodes/iq2000-desc.h
+++ b/opcodes/iq2000-desc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef IQ2000_CPU_H
#define IQ2000_CPU_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CGEN_ARCH iq2000
/* Given symbol S, return iq2000_cgen_<S>. */
@@ -344,4 +348,8 @@ extern const CGEN_HW_ENTRY iq2000_cgen_hw_table[];
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* IQ2000_CPU_H */