Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!nfs1165 From: nfs1165@dsacg3.dsac.dla.mil ( James L Strickland) Newsgroups: comp.unix.wizards Subject: Predefined Compiler Identifiers/Variables Message-ID: <2416@dsacg3.dsac.dla.mil> Date: 22 Aug 90 17:49:03 GMT Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 14 I have run across references to predefined names/identifiers/symbols associated with C compilers. These appear to be things such as: unix, vax, MSDOS, etc..., depending on the compiler. How are these identifiers implemented on a UNIX box? Are they part of the compiler or in a file that is used at compile time? How can I find out the value of the predefined identifiers for our system? -- James Strickland - Systems Programmer jstrickland@dsac.dla.mil Defense Logistics Agency Systems Automation Center (DSAC) Office of Information System Facilities, AIS Software Division, Distributed Systems (FSD) (614) 238-9649 AV 850-9649