summaryrefslogtreecommitdiff
path: root/src/video/cocoa_v.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa_v.h')
-rw-r--r--src/video/cocoa_v.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video/cocoa_v.h b/src/video/cocoa_v.h
index 93d7b2639..c3f533467 100644
--- a/src/video/cocoa_v.h
+++ b/src/video/cocoa_v.h
@@ -5,6 +5,14 @@
#include "../hal.h"
+#ifdef __cplusplus
+extern "C" {
+#endif //__cplusplus
+
extern const HalVideoDriver _cocoa_video_driver;
+#ifdef __cplusplus
+} // extern "C"
+#endif //__cplusplus
+
#endif