Fixed build with GCC 4.x / Xcode 3.2.x

This commit is contained in:
alexey.lysiuk 2014-09-06 10:18:33 +03:00
parent 4d799cab70
commit 45a88780b0

View file

@ -33,6 +33,9 @@
** **
*/ */
// Avoid collision between DObject class and Objective-C
#define Class ObjectClass
#include "cmdlib.h" #include "cmdlib.h"
#include "d_main.h" #include "d_main.h"
#include "version.h" #include "version.h"
@ -40,6 +43,9 @@
#include "m_argv.h" #include "m_argv.h"
#include "m_misc.h" #include "m_misc.h"
#include "gameconfigfile.h" #include "gameconfigfile.h"
#undef Class
#include <Cocoa/Cocoa.h> #include <Cocoa/Cocoa.h>
#include <wordexp.h> #include <wordexp.h>