I was interested in using ntfsusermap on Windows but the current source wouldn't build on Cygwin. After some changes I got it to work. This PR just has fixes for Cygwin; I looked into MinGW too (over at the mingw branch) but it was too much work.
This PR is based on #105 (partly because I thought the timespec fix would help me). From there, each commit fixes a compiler/linker error (or set of errors). I don't really have the time or motivation to see this through to the end, so I may need to close the PR if nontrivial changes are needed. At the very least, I wanted to contribute some tips for anyone else who wanted to do the same. And, perhaps there are some fixes worth cherry-picking in isolation ^^
The changes range from well-reasoned fixes like the ntdll linking in d43ede9b7d7c5441197e4479a3fd11888c32c3af, to quick hacks like f1960238411d0a7286ed279749968398df83e10f. It's a mixed bag, sorry!
I was interested in using ntfsusermap on Windows but the current source wouldn't build on Cygwin. After some changes I got it to work. This PR just has fixes for Cygwin; I looked into MinGW too (over at the mingw branch) but it was too much work.
This PR is based on #105 (partly because I thought the timespec fix would help me). From there, each commit fixes a compiler/linker error (or set of errors). I don't really have the time or motivation to see this through to the end, so I may need to close the PR if nontrivial changes are needed. At the very least, I wanted to contribute some tips for anyone else who wanted to do the same. And, perhaps there are some fixes worth cherry-picking in isolation ^^
The changes range from well-reasoned fixes like the ntdll linking in d43ede9b7d7c5441197e4479a3fd11888c32c3af, to quick hacks like f1960238411d0a7286ed279749968398df83e10f. It's a mixed bag, sorry!