predefined-macro

Are there specific defines of linuxthreads and nptl

Hello I hav a programme, which must work differently for linuxthreads and nptl. Are there defines in this libs, that can be used in my programme to detect, is nptl is used or is linuxthreads is? UPDATE1: For runtime there is a getconf GLIBC_LIBPTHREADS, but what for compile-time? ...

What macro are predefined by gcc for different SPARC processors?

Hello What macroses are predefined for C programms by GCC complier running on different SPARC processors. OS is the Linux. So how can I distinguish between UltraSPARC, SuperSPARC, Niagara, SPARC64, etc in compile time. Thanks ...

Is there any predefined macro like _MSC_BUILD(supported from vs2008) in visual studio 2005?

I hope for using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler. but i can't find that in vs2005. thank you for your help. ...