Unfortunately, the mingw-w64 suite has an empty libscrnsave.a, so upgrading the compiler required adding source code that should have been included in the library. The scrnsave.c file is copied directly from the mingw-w64 source tree with an "#if 0" removed. If mingw-w64 eventually has a functional libscrnsave.lib, this file should be removed.