Skip to content
Snippets Groups Projects
Commit af7495ad authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 39cc80bb
No related branches found
No related tags found
No related merge requests found
...@@ -1306,6 +1306,10 @@ int mySystem(std::string commandLine){ ...@@ -1306,6 +1306,10 @@ int mySystem(std::string commandLine){
#include <sys/stat.h> #include <sys/stat.h>
#include <ctime> #include <ctime>
#if defined(WIN32)
#include <io.h>
#endif
bool checkIfPresent(std::string fileName){ bool checkIfPresent(std::string fileName){
struct stat buf; struct stat buf;
if (!stat(fileName.c_str(), &buf)) if (!stat(fileName.c_str(), &buf))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment