Commit af91d7b5 authored by Christophe Mutricy's avatar Christophe Mutricy

io.h on mingw contains a bunch of old functions *for compatibility* which...

io.h on mingw contains a bunch of old functions *for compatibility* which break with the way we deine close at closesocket. So disable all those old stuff.
parent 3cff68a4
......@@ -33,6 +33,7 @@
# if defined(UNDER_CE)
# define HAVE_STRUCT_ADDRINFO
# else
# define _NO_OLDNAMES 1
# include <io.h>
# endif
# include <winsock2.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment