--- libimagequant-2.8.2/configure.orig	2016-12-23 18:22:46.000000000 -0500
+++ libimagequant-2.8.2/configure	2017-01-22 18:16:06.828809100 -0500
@@ -113,9 +113,11 @@
 echo
 
 # basic check
+if  ! [ "$OSTYPE" == "msys" ]; then
 if ! echo "int main(){}" | "$CC" -xc -std=c99 -o /dev/null - > /dev/null; then
     error "Compiler" "$CC failed to compile anything (make sure it's installed and supports C99)"
 fi
+fi
 
 status "Compiler" "$CC"
 
