need list of predefined constants

Brad Appleton brad at SSD.CSD.HARRIS.COM
Sat Mar 30 03:04:03 AEST 1991


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 at ssd.csd.harris.com       Harris Computer Systems
                             uunet!hcx1!brad           Fort Lauderdale, FL USA
~~~~~~~~~~~~~~~~~~~~ Disclaimer: I said it, not my company! ~~~~~~~~~~~~~~~~~~~



More information about the Comp.lang.c mailing list