mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 12:00:17 +02:00
FHU: Avoid calling faccessat on WIN32
This commit is contained in:
1 parent
82295b2943
commit
a7ac4fa6e4
1 file changed
+2
@@ -33,9 +33,11 @@ namespace FHU::Filesystem {
|
||||
return access(Path.c_str(), F_OK) == 0;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
inline bool ExistsAt(int FD, const fextl::string &Path) {
|
||||
return faccessat(FD, Path.c_str(), F_OK, 0) == 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
enum class CreateDirectoryResult {
|
||||
CREATED,
|
||||
|
||||
Reference in new issue
Block a user