Skip to content

Commit

Permalink
Merge pull request #35 from MehdiChinoune/mingw-fix
Browse files Browse the repository at this point in the history
Fix building on MinGW
  • Loading branch information
hobu authored May 10, 2024
2 parents 43caeb9 + 260c138 commit 055b2ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tile/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ std::vector<std::string> directoryList(const std::string& dir)
fs::directory_iterator end;
while (it != end)
{
#ifndef __MINGW32__
files.push_back(untwine::fromNative(it->path()));
#else
files.push_back(untwine::fromNative(it->path().string()));
#endif
it++;
}
}
Expand Down

0 comments on commit 055b2ec

Please sign in to comment.