[net.unix] Standardized predefined CPP symbols

minow@decvax.UUCP (Martin Minow) (07/11/84)

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