cegcc (not mingw32ce) defines same structures, functions etc. in both in.h and winsoc...
authordoursse <doursse>
Wed, 9 Apr 2008 08:27:17 +0000 (08:27 +0000)
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Apr 2008 08:27:17 +0000 (08:27 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34227 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_data.c
src/lib/eet_lib.c

index 98c5c8e..0ad2e2b 100644 (file)
@@ -21,7 +21,7 @@
 # include <netinet/in.h>
 #endif
 
-#ifdef _WIN32
+#if defined(_WIN32) && ! defined(__CEGCC__)
 # include <winsock2.h>
 #endif
 
index 9465140..198f453 100644 (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