aboutsummaryrefslogtreecommitdiff
path: root/opcodes/epiphany-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/epiphany-opc.h')
-rw-r--r--opcodes/epiphany-opc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/epiphany-opc.h b/opcodes/epiphany-opc.h
index c58af3e..fee8047 100644
--- a/opcodes/epiphany-opc.h
+++ b/opcodes/epiphany-opc.h
@@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
#ifndef EPIPHANY_OPC_H
#define EPIPHANY_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- opc.h */
/* enumerate relaxation types for gas. */
@@ -223,4 +227,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* EPIPHANY_OPC_H */