diff --git a/src/tile/tile.cpp b/src/tile/tile.cpp index cbd85ed..e368c13 100644 --- a/src/tile/tile.cpp +++ b/src/tile/tile.cpp @@ -51,7 +51,11 @@ std::vector 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++; } }