mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r8141) -Fix r8128: [OSX] now OSX can compile again.
Note: this is again another not so nice workaround as Objective C fails to include C++ code in the headers We should move to Objective C++ as soon as possible, but such a change is not done overnight and this quick fix will allow OSX to compile until the prober solution is done
This commit is contained in:
parent
e28d4aff8f
commit
5461ec7889
@ -4,6 +4,13 @@
|
|||||||
#define VIDEO_COCOA_H
|
#define VIDEO_COCOA_H
|
||||||
|
|
||||||
#include "../hal.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"
|
#include "../gfx.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user