git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101690
91177308-0d34-0410-b5e6-
96231b3b80d8
return _stat(pathname_.c_str(), &file_stat) == 0;
#endif // _WIN32_WCE
#else
return _stat(pathname_.c_str(), &file_stat) == 0;
#endif // _WIN32_WCE
#else
- struct stat file_stat = {};
return stat(pathname_.c_str(), &file_stat) == 0;
#endif // GTEST_OS_WINDOWS
}
return stat(pathname_.c_str(), &file_stat) == 0;
#endif // GTEST_OS_WINDOWS
}
(_S_IFDIR & file_stat.st_mode) != 0;
#endif // _WIN32_WCE
#else
(_S_IFDIR & file_stat.st_mode) != 0;
#endif // _WIN32_WCE
#else
- struct stat file_stat = {};
result = stat(pathname_.c_str(), &file_stat) == 0 &&
S_ISDIR(file_stat.st_mode);
#endif // GTEST_OS_WINDOWS
result = stat(pathname_.c_str(), &file_stat) == 0 &&
S_ISDIR(file_stat.st_mode);
#endif // GTEST_OS_WINDOWS