On Friday 25 January 2008, Vincent Torri wrote:
> --- src/lib/Eet_private.h       29 Sep 2007 09:21:43 -0000      1.17
> +++ src/lib/Eet_private.h       26 Jan 2008 00:04:53 -0000
> +#ifdef __CEGCC__
> +# include <windows.h>
> +# define HAVE_BOOLEAN
> +# define XMD_H
> +# undef _LARGEFILE64_SOURCE
>  #elif _WIN32
>  # include <winsock2.h>
>  #endif
> --- src/lib/eet_lib.c   24 Jan 2008 08:41:23 -0000      1.85
> +++ src/lib/eet_lib.c   26 Jan 2008 00:04:54 -0000
>  #include <sys/types.h>
> -#ifndef _WIN32
> -#include <sys/mman.h>
> +#if !defined (_WIN32) && !defined (__CEGCC__)
> +# include <sys/mman.h>
>  #endif
> -#ifndef _WIN32
> +#if !defined (_WIN32) || defined (__CEGCC__)
>     fcntl(fileno(ef->fp), F_SETFD, FD_CLOEXEC);
>  #else
>     /* FIXME: check if that code is needed / correct */

this is getting horrendous ... why cant you use proper autoconf checks ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to