Closed Unit193 closed 2 years ago
Sorry for the long delay, I implemented it almost as in your PR, but added a non-Windows dependency as PATH_MAX
is not a thin on Windows and used by ghc::filesystem
only for the POSIX backend.
Manually adapted on master.
Thanks! I'm not very picky, this looks great to me.
PATH_MAX is not portable, define it if it isn't defined in limits.h.
Not sure if this is where you'd prefer to define it though.