Use linuxpath for FreeBSD as well

actorid
Dmitry Marakasov 13 years ago
parent 37e272b3b5
commit 463acb2f75

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