From 45a88780b0db0b2da5839bbd5078236db7fd498c Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 6 Sep 2014 10:18:33 +0300 Subject: [PATCH] Fixed build with GCC 4.x / Xcode 3.2.x --- src/sdl/iwadpicker_cocoa.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sdl/iwadpicker_cocoa.mm b/src/sdl/iwadpicker_cocoa.mm index 7a6b38623..92eb47e40 100644 --- a/src/sdl/iwadpicker_cocoa.mm +++ b/src/sdl/iwadpicker_cocoa.mm @@ -33,6 +33,9 @@ ** */ +// Avoid collision between DObject class and Objective-C +#define Class ObjectClass + #include "cmdlib.h" #include "d_main.h" #include "version.h" @@ -40,6 +43,9 @@ #include "m_argv.h" #include "m_misc.h" #include "gameconfigfile.h" + +#undef Class + #include #include