#include "../../src/system.h"
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
static const char *winerror(int err) {
static char buf[1024], *ptr;
protocol = "17.7";
}
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
static struct WSAData wsa_state;
if(WSAStartup(MAKEWORD(2, 2), &wsa_state)) {