mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
18 lines
312 B
C++
18 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
|