From 325a19f204ba4e617944db400d946b4a43e2a024 Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Tue, 24 Sep 2019 17:58:55 +0200 Subject: [PATCH] struct stat --- generate_game_infos/generate_game_infos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_game_infos/generate_game_infos.cpp b/generate_game_infos/generate_game_infos.cpp index 43eb086..00e1e0b 100644 --- a/generate_game_infos/generate_game_infos.cpp +++ b/generate_game_infos/generate_game_infos.cpp @@ -250,7 +250,7 @@ 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) {