Skip to content

Commit

Permalink
Fix building on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed May 9, 2024
1 parent 43caeb9 commit 260c138
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 260c138

Please sign in to comment.