More Windows fixes

This commit is contained in:
Marcus Holland-Moritz 2023-06-22 11:49:54 +02:00
parent a7422ec176
commit ed6a33d080

View File

@ -172,8 +172,10 @@ os_access_generic::map_file(std::string const& path, size_t size) const {
}
int os_access_generic::access(std::string const& path, int mode) const {
#ifdef _WIN32
// TODO
#ifndef _WIN32
return 0;
#else
return ::access(path.c_str(), mode);
#endif
}