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