platform check fix

actorid
Marc Zinnschlag 14 years ago
parent 768c9bdf07
commit ecfe57caf2

@ -2,13 +2,15 @@
#include <boost/filesystem.hpp>
#include <string>
#include <OgrePrerequisites.h>
bool isFile(const char *name)
{
boost::filesystem::path cfg_file_path(name);
return boost::filesystem::exists(cfg_file_path);
}
#ifdef OGRE_PLATFORM == OGRE_PLATFORM_APPLE
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
#include <CoreFoundation/CoreFoundation.h>
std::string macBundlePath()

Loading…
Cancel
Save