summaryrefslogtreecommitdiff
path: root/include/opcode/mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/mips.h')
-rw-r--r--include/opcode/mips.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 0af3ed5d1b..b1d4ef6a94 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -25,6 +25,10 @@
#include "bfd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* These are bit masks and shift counts to use to access the various
fields of an instruction. To retrieve the X field of an
instruction, use the expression
@@ -2284,4 +2288,8 @@ extern const int bfd_micromips_num_opcodes;
Used to implement -mfix-loongson2f. */
#define LOONGSON2F_NOP_INSN 0x00200825
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _MIPS_H_ */