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.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev