Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decvax.UUCP Path: utzoo!linus!decvax!minow From: minow@decvax.UUCP (Martin Minow) Newsgroups: net.unix,net.lang.c,net.unix-wizards Subject: Re: Standardized predefined CPP symbols Message-ID: <32@decvax.UUCP> Date: Tue, 10-Jul-84 22:31:53 EDT Article-I.D.: decvax.32 Posted: Tue Jul 10 22:31:53 1984 Date-Received: Thu, 12-Jul-84 01:11:13 EDT References: <297@watdcsu.UUCP> Organization: DEC UNIX Engineering Group Lines: 19 For what it's worth, Decus C predefines the following symbols: decus, pdp11 nomacarg The Decus C preprocessor doesn't support #define x(args) rsx, rt11 As appropriate _FILE_ Source file name (might be __FILE__) _LINE_ Current line number (might be __LINE__) _DATE_ Compilation date in ctime() format (without the trailing \n) Vax-11C predefines the following symbols: vax, vax11c, vms Moral: programs may need to know the target machine and operating system, along with any unique quirks of the compiler. Martin Minow decvax!minow