From 31749fc97b048af6f1abc5652ec673e301f20d1f Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Sat, 25 Jun 2011 19:29:11 +0400 Subject: [PATCH] Added include for Ogre::macBundlePath to main.cpp and removed such include from engine.cpp (no longer needed there). --- apps/openmw/engine.cpp | 4 ---- apps/openmw/main.cpp | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 709b21fc8..0d688a9f6 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -44,10 +44,6 @@ #include -#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE -#include -#endif - #include #include "mwgui/class.hpp" diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index 56f78afe3..81fbff2f2 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -26,6 +26,11 @@ #endif +// for Ogre::macBundlePath +#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE +#include +#endif + using namespace std; /// Parse command line options and openmw.cfg file (if one exists). Results are directly