Found this today,
https://sourceforge.net/projects/predef/
that documents pre-defined compiler macros for standards, compilers, operating systems, and hardware architectures.
Go to the following page, and you will see why it is very useful!
https://sourceforge.net/p/predef/wiki/OperatingSystems/