io.h on mingw contains a bunch of old functions *for compatibility* which break with...
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 22 Nov 2006 11:30:30 +0000 (11:30 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 22 Nov 2006 11:30:30 +0000 (11:30 +0000)
include/network.h

index 1df1332..6543d90 100644 (file)
@@ -33,6 +33,7 @@
 #   if defined(UNDER_CE)
 #       define HAVE_STRUCT_ADDRINFO
 #   else
+#       define _NO_OLDNAMES 1
 #       include <io.h>
 #   endif
 #   include <winsock2.h>