2012/5/20 Christoph Egger <christ...@debian.org>:
> __GLIBC__ should cover all of them alone. Or alternatively consistently
> checking for kernels:
>
> #if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD_kernel__)

Please keep in mind __FreeBSD_kernel__ doesn't imply anything about
userland.  In fact this macro is defined in recent versions of
FreeBSD.

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOfDtXMUdWK9TaqiR6xKRqYa2B1QWUMg-Xq_XTezJb5FZ=f...@mail.gmail.com

Reply via email to