mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 22:40:03 -04:00
More Windows fixes
This commit is contained in:
parent
a7422ec176
commit
ed6a33d080
@ -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 {
|
int os_access_generic::access(std::string const& path, int mode) const {
|
||||||
|
#ifdef _WIN32
|
||||||
// TODO
|
// TODO
|
||||||
#ifndef _WIN32
|
return 0;
|
||||||
|
#else
|
||||||
return ::access(path.c_str(), mode);
|
return ::access(path.c_str(), mode);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user