On Thu, Jan 03, 2013 at 04:40:02PM -0200, Lucas De Marchi wrote: > or.... you use "#include_next <libgen.h>" inside Escape's libgen.h > and don't bother with never ever creating Escape.h > > http://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html > > > Not sure if other compilers support this, though
It's not that portable. There is a strong overlap with platforms that have issues with standard headers and those that don't support #include_next. It shouldn't also really be needed. You can provide a subdirectory in the build tree with files containing only include guards for missing system headers and one "catch all" Evil.h that defines prototypes that might be missing on the system. That's essentially the idea of how NetBSD adjusts tools used in the bootstrap phase when cross-compiling from Linux/Solaris/... Joerg ------------------------------------------------------------------------------ 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_122712 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
