[comp.lang.c] need list of predefined constants

brad@SSD.CSD.HARRIS.COM (Brad Appleton) (03/30/91)

I need a list of predefined cpp constants for various hardware/compiler vendors.

Basically I want to know what cpp constants to use to tell what OS I am using
(e.g. UNIX, DOS, OS2, AMIGA, VAX/VMS) and what flavor of the OS I am using
(e.g. BSD_UNIX, SYSV_UNIX, OS2_REAL, OS2_PROTECTED).

I need this list for various UNix machines (like SUN, SGI, DG, etc ...)

and for various PC C compilers (like Microsoft, Borland, Lattice, etc ...)

Please e-mail and I will summarize.
advTHANXance
______________________ "And miles to go before I sleep." ______________________
 Brad Appleton           brad@ssd.csd.harris.com       Harris Computer Systems
                             uunet!hcx1!brad           Fort Lauderdale, FL USA
~~~~~~~~~~~~~~~~~~~~ Disclaimer: I said it, not my company! ~~~~~~~~~~~~~~~~~~~