mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
commit
2a6acfcbe5
@ -129,7 +129,7 @@ inline bool
|
||||
exists(string_t path)
|
||||
{
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
return GetFileAttributes(path) != INVALID_FILE_ATTRIBUTES;
|
||||
return GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES;
|
||||
#else
|
||||
STRUCT_STAT s;
|
||||
return STAT(path, &s) == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user