On Sat, Feb 4, 2012 at 1:08 AM, Marc Lehmann <[email protected]> wrote: > On Thu, Feb 02, 2012 at 04:26:53AM +0100, Marc Lehmann <[email protected]> > wrote: >> Ahh, that makes more sense - the trouble with __llvm__ is that it's >> defined by a lot of compilers - is there a more specific way to check for >> apple's compiler, or is this guaranteed to work with all compilers that >> define __llvm__? > > According to the primary llvm backend maintainer, __llvm__ only indicates the > backend, not the frontend (whcih is responsible for syntax). > > Can you try the following instead of __clang__ and see if it works if with > both clang and llvm-gcc? > > (__llvm__ && __GNUC__) > > That should work with clang and llvm-gcc.
Yes, I just checked and that selects both llvm-gcc and clang. _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
