I am going to assume that gcc is the compiler people are using on their *NIX.
so for that, I know that
#if defined(__GNUC__)
will work.
SO...
for Centos, Solaris, HPUX, AIX, Linux, BSD, FreeBSD, OpenSUSE, Fedora, redhat, what #if defined()'s do I use to detect these OS's?