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