@vtjnash Microsoft's C run-time does not define `stat` functions, that is why I created this definition. I think surrouding line with proper `#ifdef` will solve the problem:

    #ifndef _COMPILER_MINGW_
    #define stat                                                _stat
    #endif /* _COMPILER_MINGW_

I could do it, but this will require to create a pull request and merge it. So, you can do it yourself - this is much faster.