| 21 | namespace fsbridge { |
| 22 | |
| 23 | FILE *fopen(const fs::path& p, const char *mode) |
| 24 | { |
| 25 | #ifndef WIN32 |
| 26 | return ::fopen(p.c_str(), mode); |
| 27 | #else |
| 28 | return ::fopen(p.utf8string().c_str(), mode); |
| 29 | #endif |
| 30 | } |
| 31 | |
| 32 | fs::path AbsPathJoin(const fs::path& base, const fs::path& path) |
| 33 | { |