]> www.tinc-vpn.org Git - tinc/blobdiff - test/integration/splice.c
Replace MinGW with Windows to avoid ambiguities
[tinc] / test / integration / splice.c
index 07c350301b222682646ca42457dd3ae3d5bfc209..e72d0c7199b60a88e38ec49e6528106e6e23fb55 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "../../src/system.h"
 
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
 static const char *winerror(int err) {
        static char buf[1024], *ptr;
 
@@ -59,7 +59,7 @@ int main(int argc, char *argv[]) {
                protocol = "17.7";
        }
 
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
        static struct WSAData wsa_state;
 
        if(WSAStartup(MAKEWORD(2, 2), &wsa_state)) {