mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
279 B
16 lines
279 B
8 years ago
|
#include "fs.h"
|
||
|
|
||
|
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
|