aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/tilegx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/tilegx.h')
-rw-r--r--include/opcode/tilegx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/tilegx.h b/include/opcode/tilegx.h
index e0d8aee..ae8f95b 100644
--- a/include/opcode/tilegx.h
+++ b/include/opcode/tilegx.h
@@ -21,6 +21,10 @@
#ifndef opcode_tile_h
#define opcode_tile_h
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef unsigned long long tilegx_bundle_bits;
@@ -1301,4 +1305,8 @@ typedef tilegx_bundle_bits tile_bundle_bits;
#define TILE_LOG2_BUNDLE_ALIGNMENT_IN_BYTES \
TILEGX_LOG2_BUNDLE_ALIGNMENT_IN_BYTES
+#ifdef __cplusplus
+}
+#endif
+
#endif /* opcode_tilegx_h */