mirror of https://github.com/OpenTTD/OpenTTD
Fix: [OSX] Macro name conflict when trying to compile the QuickTime music driver.
parent
61d6fa97cc
commit
316e4e9417
|
@ -34,11 +34,13 @@
|
||||||
#include "../debug.h"
|
#include "../debug.h"
|
||||||
#include "../base_media_base.h"
|
#include "../base_media_base.h"
|
||||||
|
|
||||||
#define Rect OTTDRect
|
#define Rect OTTD_Rect
|
||||||
#define Point OTTDPoint
|
#define Point OTTD_Point
|
||||||
|
#define WindowClass OTTD_WindowClass
|
||||||
#include <QuickTime/QuickTime.h>
|
#include <QuickTime/QuickTime.h>
|
||||||
#undef Rect
|
#undef Rect
|
||||||
#undef Point
|
#undef Point
|
||||||
|
#undef WindowClass
|
||||||
|
|
||||||
#include "../safeguards.h"
|
#include "../safeguards.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue