shinyquagsire23 / makefst

CDN FST packer and packager for Wii U homebrew
MIT License
13 stars 0 forks source link

Hot-fixes for MinGW #5

Closed CreeperMario closed 7 years ago

CreeperMario commented 7 years ago

Just a few small issues I found while attempting to build and use makefst on AppVeyor.

The issues I found included PATH_MAX not being defined within the MinGW headers, and as such needing to define it manually, much like in macOS.

The other small issue was that MinGW's file stat structure differs slightly from both UNIX and from other Windows toolkit distributions, and so I've added checks to ensure that the correct struct is used underneath MinGW.

After performing these changes, I was able to successfully build and deploy Wii U Pong using AppVeyor.

One word of advice: do not try to build makefst using MSVC, I tried that and ended up receiving 55 errors and 14 warnings. So yeah, lets just stick with GCC. 👻