Changeset View
Changeset View
Standalone View
Standalone View
src/fs.h
Show All 32 Lines | private: | ||||
std::string reason; | std::string reason; | ||||
#ifndef WIN32 | #ifndef WIN32 | ||||
int fd = -1; | int fd = -1; | ||||
#else | #else | ||||
// INVALID_HANDLE_VALUE | // INVALID_HANDLE_VALUE | ||||
void *hFile = (void *)-1; | void *hFile = (void *)-1; | ||||
#endif | #endif | ||||
}; | }; | ||||
std::string get_filesystem_error_message(const fs::filesystem_error &e); | |||||
}; // namespace fsbridge | }; // namespace fsbridge | ||||
#endif // BITCOIN_FS_H | #endif // BITCOIN_FS_H |