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?
...
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
...
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.
...