summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa_v.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video/cocoa_v.h b/src/video/cocoa_v.h
index c9ec182fa..42e55bcca 100644
--- a/src/video/cocoa_v.h
+++ b/src/video/cocoa_v.h
@@ -4,6 +4,13 @@
#define VIDEO_COCOA_H
#include "../hal.h"
+
+#ifndef __cplusplus
+/* Really ugly workaround
+ * It should be solved right as soon as possible */
+typedef uint32 SpriteID;
+#endif //__cplusplus
+
#include "../gfx.h"
#ifdef __cplusplus