On Thu, 1 Apr 2010, Enlightenment SVN wrote:

> Log:
>  efreet: fancy alloca include in common header

I hope that you didn't break Windows compilation with that move. I have to 
check that

Vincent

> Author:       englebass
> Date:         2010-04-01 12:32:41 -0700 (Thu, 01 Apr 2010)
> New Revision: 47664
>
> Modified:
>  trunk/efreet/src/lib/efreet_ini.c trunk/efreet/src/lib/efreet_private.h
>
> Modified: trunk/efreet/src/lib/efreet_ini.c
> ===================================================================
> --- trunk/efreet/src/lib/efreet_ini.c 2010-04-01 19:32:29 UTC (rev 47663)
> +++ trunk/efreet/src/lib/efreet_ini.c 2010-04-01 19:32:41 UTC (rev 47664)
> @@ -12,23 +12,6 @@
> #include <unistd.h>
> #include <sys/mman.h>
>
> -#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>
> -# ifdef  __cplusplus
> -extern "C"
> -# endif
> -void *alloca (size_t);
> -#endif
> -
> #include <Ecore_File.h>
>
> #include "Efreet.h"
>
> Modified: trunk/efreet/src/lib/efreet_private.h
> ===================================================================
> --- trunk/efreet/src/lib/efreet_private.h     2010-04-01 19:32:29 UTC (rev 
> 47663)
> +++ trunk/efreet/src/lib/efreet_private.h     2010-04-01 19:32:41 UTC (rev 
> 47664)
> @@ -4,6 +4,24 @@
>
> #include <Eet.h>
>
> +#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>
> +# ifdef  __cplusplus
> +extern "C"
> +# endif
> +void *alloca (size_t);
> +#endif
> +
> +
> /**
>  * @file efreet_private.h
>  * @brief Contains methods and defines that are private to the Efreet
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to