cegcc (not mingw32ce) defines same structures, functions etc. in both in.h and winsock2.h. So do not include winsock2.h with that compiler

SVN revision: 34227
This commit is contained in:
doursse 2008-04-09 08:27:17 +00:00 committed by doursse
parent 87f4bedb81
commit 5e7b84a40e
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
# include <netinet/in.h>
#endif
#ifdef _WIN32
#if defined(_WIN32) && ! defined(__CEGCC__)
# include <winsock2.h>
#endif

View File

@ -39,7 +39,7 @@ void *alloca (size_t);
# include <netinet/in.h>
#endif
#ifdef _WIN32
#if defined(_WIN32) && ! defined(__CEGCC__)
# include <winsock2.h>
#endif