struct stat

This commit is contained in:
Nemirtingas 2019-09-24 17:58:55 +02:00
parent 965031a804
commit 325a19f204

View file

@ -250,7 +250,7 @@ static bool create_directory(std::string const& strPath)
static bool create_directory(std::string const& strPath) static bool create_directory(std::string const& strPath)
{ {
stat sb; struct stat sb;
if (stat(strPath.c_str(), &sb) != 0) if (stat(strPath.c_str(), &sb) != 0)
{ {