From: doursse Date: Wed, 9 Apr 2008 08:27:17 +0000 (+0000) Subject: cegcc (not mingw32ce) defines same structures, functions etc. in both in.h and winsoc... X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~694 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e8173c587ec639e393438411dda5e106a4e46d2;p=profile%2Fivi%2Feet.git cegcc (not mingw32ce) defines same structures, functions etc. in both in.h and winsock2.h. So do not include winsock2.h with that compiler git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34227 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eet_data.c b/src/lib/eet_data.c index 98c5c8e..0ad2e2b 100644 --- a/src/lib/eet_data.c +++ b/src/lib/eet_data.c @@ -21,7 +21,7 @@ # include #endif -#ifdef _WIN32 +#if defined(_WIN32) && ! defined(__CEGCC__) # include #endif diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index 9465140..198f453 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -39,7 +39,7 @@ void *alloca (size_t); # include #endif -#ifdef _WIN32 +#if defined(_WIN32) && ! defined(__CEGCC__) # include #endif