Sun WorkShop Compiler C 5.0 User's Guide

-Dname[=tokens]

Associates name with the specified tokens as if by a #define preprocessing directive. If no =tokens is specified, the token 1 is supplied.

Predefinitions (not valid in -Xc mode):

The following predefinitions are valid in all modes.


_ _sparcv9 (-Xarch=v9, v9a)
_ _sun
_unix
_SUNPRO_C
_ _`uname -s`_`uname -r`
 (example:  _ 
_SunOS_5_7) 
_ _sparc (SPARC)
_ _i386 (Intel)
_ _BUILTIN_VA_ARG_INCR 
_ _SVR4

The following is predefined in -Xa and -Xt modes only:

_ _RESTRICT

The compiler also predefines the object-like macro _ _PRAGMA_REDEFINE_EXTNAME, to indicate the pragma will be recognized.