1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Merge pull request #1 from AMDmi3/config-freebsd-path-handling

Use Linux path handling for FreeBSD as well
This commit is contained in:
Lukasz Gromanowski 2012-01-18 03:23:07 -08:00
commit 8fb3263e3b
3 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@
#include "linuxpath.hpp"
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD__)
#include <cstdlib>
#include <cstring>
@ -157,4 +157,4 @@ boost::filesystem::path LinuxPath::getRuntimeDataPath() const
} /* namespace Files */
#endif /* defined(__linux__) */
#endif /* defined(__linux__) || defined(__FreeBSD__) */

View file

@ -23,7 +23,7 @@
#ifndef COMPONENTS_FILES_LINUXPATH_H
#define COMPONENTS_FILES_LINUXPATH_H
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD__)
#include <boost/filesystem.hpp>
@ -85,6 +85,6 @@ struct LinuxPath
} /* namespace Files */
#endif /* defined(__linux__) */
#endif /* defined(__linux__) || defined(__FreeBSD__) */
#endif /* COMPONENTS_FILES_LINUXPATH_H */

View file

@ -26,7 +26,7 @@
#include <string>
#include <boost/filesystem.hpp>
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD__)
#include <components/files/linuxpath.hpp>
namespace Files { typedef LinuxPath TargetPathType; }