lbrycrd/src/fs.cpp
Wladimir J. van der Laan 19e36bbef6 Add fs.cpp/h
2017-04-03 12:32:32 +02:00

17 lines
312 B
C++

#include "fs.h"
#include <boost/filesystem.hpp>
namespace fsbridge {
FILE *fopen(const fs::path& p, const char *mode)
{
return ::fopen(p.string().c_str(), mode);
}
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
{
return ::freopen(p.string().c_str(), mode, stream);
}
} // fsbridge