mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
Fix: [OSX] Macro name conflict when trying to compile the QuickTime music driver.
This commit is contained in:
@@ -34,11 +34,13 @@
|
||||
#include "../debug.h"
|
||||
#include "../base_media_base.h"
|
||||
|
||||
#define Rect OTTDRect
|
||||
#define Point OTTDPoint
|
||||
#define Rect OTTD_Rect
|
||||
#define Point OTTD_Point
|
||||
#define WindowClass OTTD_WindowClass
|
||||
#include <QuickTime/QuickTime.h>
|
||||
#undef Rect
|
||||
#undef Point
|
||||
#undef WindowClass
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
|
Reference in New Issue
Block a user