Skip to content

Commit b0f5622

Browse files
brycehutchingsrpavlik
authored andcommitted
other feedback
1 parent 925cc7e commit b0f5622

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/common/filesystem_utils.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ bool FileSysUtilsFindFilesInPath(const std::string& path, std::vector<std::strin
152152

153153
#elif defined(XR_OS_WINDOWS)
154154

155+
// For pre C++17 compiler that doesn't support experimental filesystem
156+
155157
bool FileSysUtilsIsRegularFile(const std::string& path) {
156158
const DWORD attr = GetFileAttributesW(utf8_to_wide(path).c_str());
157159
return attr != INVALID_FILE_ATTRIBUTES && !(attr & FILE_ATTRIBUTE_DIRECTORY);

0 commit comments

Comments
 (0)