#include "file.h" using namespace std; bool FileExists(std::string Filename){ #if defined (__WIN32__) #else struct stat BuffData; if (stat(Filename.c_str(), &BuffData) == -1){ return false; } #endif return true; }