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

Use Linux path handling for FreeBSD as well
pull/21/head
Lukasz Gromanowski 13 years ago
commit 8fb3263e3b

@ -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__) */

@ -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 */

@ -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; }

Loading…
Cancel
Save