On Mon, Jan 7, 2013 at 3:18 AM, Thomas Petazzoni <thomas.petazz...@free-electrons.com> wrote: > > On uClibc, <execinfo.h> is not necessarily installed, depending on the > configuration. Enlightenment properly makes <execinfo.h> optional, but > uses __GLIBC__ to check if it is available or not. Unfortunately, > uClibc defines __GLIBC__, so it is not the right way to decide if > <execinfo.h> is available. > > Instead, Enlightenment already has a configure.ac check for > execinfo.h, so we simply use the result of this configure.ac check to > decide whether execinfo.h is to be included or not.
In svn, thanks. > Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com> > --- > This patch applies on Enlightenment 1.7.4. I unfortunately haven't been > able to find a Git repository of 1.7.4 on top of which I could base > this patch. > > Index: b/src/bin/e.h > =================================================================== > --- a/src/bin/e.h > +++ b/src/bin/e.h > @@ -92,7 +92,7 @@ > # include <memcheck.h> > # endif > > -# ifdef __GLIBC__ > +# ifdef HAVE_EXECINFO_H > # include <execinfo.h> > # endif > > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_123012 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Cedric BAIL ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel