mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fixed GH# #2712: File_WIN32.cpp(168): error C2065: “_upath”:Undeclared identifier
This commit is contained in:
@@ -165,7 +165,7 @@ bool FileImpl::isLinkImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
DWORD attr = GetFileAttributes(_upath.c_str());
|
||||
DWORD attr = GetFileAttributes(_path.c_str());
|
||||
if (attr == INVALID_FILE_ATTRIBUTES)
|
||||
handleLastErrorImpl(_path);
|
||||
return (attr & FILE_ATTRIBUTE_DIRECTORY) == 0 && (attr & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
|
||||
|
||||
Reference in New Issue
Block a user