On Wed, 25 Aug 2010, Enlightenment SVN wrote:

> Log:
>  alloca header fix for edje.

it must be placed just after config.h (recommendation of autoconf doc)

Vincent

>
>
> Author:       raster
> Date:         2010-08-25 02:25:36 -0700 (Wed, 25 Aug 2010)
> New Revision: 51634
>
> Modified:
>  trunk/edje/src/lib/edje_private.h
>
> Modified: trunk/edje/src/lib/edje_private.h
> ===================================================================
> --- trunk/edje/src/lib/edje_private.h 2010-08-25 08:23:59 UTC (rev 51633)
> +++ trunk/edje/src/lib/edje_private.h 2010-08-25 09:25:36 UTC (rev 51634)
> @@ -9,6 +9,20 @@
> # include <Evil.h>
> #endif
>
> +#ifdef HAVE_ALLOCA_H
> +# include <alloca.h>
> +#elif defined __GNUC__
> +# define alloca __builtin_alloca
> +#elif defined _AIX
> +# define alloca __alloca
> +#elif defined _MSC_VER
> +# include <malloc.h>
> +# define alloca _alloca
> +#else
> +# include <stddef.h>
> +void *alloca (size_t);
> +#endif
> +
> #include <Eina.h>
> #include <Evas.h>
> #include <Ecore.h>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to