--- cddb_net.c  2009-03-01 03:28:07.000000000 +0000
+++ cddb_net-p.c        2015-03-05 20:22:04.320506700 +0000
@@ -228,7 +228,7 @@

 /* Time-out enabled work-alikes */

-#ifdef HAVE_ALARM
+#ifdef HAVE_ALARM || ! defined(SIGALRM)
 /* time-out jump buffer */
 static jmp_buf timeout_expired;

@@ -241,7 +241,7 @@

 struct hostent *timeout_gethostbyname(const char *hostname, int timeout)
 {
-#ifdef HAVE_ALARM
+#ifdef HAVE_ALARM || ! defined(SIGALRM)
     struct hostent *he = NULL;
     struct sigaction action;
     struct sigaction old;


Fix SIGALRM broken in Mingw-64
Fix SIGALRM broken in Mingw-64
