Skip to content

Commit

Permalink
Merge pull request #352 from drbergman/better-windows-macros
Browse files Browse the repository at this point in the history
more robust macro to check for windows
  • Loading branch information
MathCancer authored Jan 20, 2025
2 parents 37b970c + c9a6cec commit d73c253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/PhysiCell_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ bool create_directories(const std::string &path)

bool create_directory(const std::string &path)
{
#if defined(__MINGW32__) || defined(__MINGW64__)
#if defined(_WIN32)
bool success = mkdir(path.c_str()) == 0;
#else
bool success = mkdir(path.c_str(), 0755) == 0;
Expand Down

0 comments on commit d73c253

Please sign in to comment.