Skip to content

Commit

Permalink
Try different fs solution
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannielynnmoulton committed Jul 18, 2024
1 parent 2170569 commit c9029e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@

#include "Scenario.hpp"
#include "Output.hpp"
#include <experimental/filesystem>
#include <sstream>
#include <string>
#include <sys/stat.h>
namespace fs = std::experimental::filesystem;
#ifdef __APPLE__
namespace fs = std::__fs::filesystem;
#else
namespace fs = std::filesystem;
#endif

bool IsPathExist(const std::string &s) {
struct stat buffer;
Expand Down

0 comments on commit c9029e9

Please sign in to comment.