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