Sun WorkShop Compiler C 5.0 User's Guide

Predefined Names

The following identifier is predefined as an object-like macro:

Table 3-4 Predefined Identifier

Identifier 

Description 

 __STDC__

__STDC__ 1 -Xc 

__STDC__ 0 -Xa, -Xt 

Not defined -Xs

The compiler will issue a warning if __STDC__ is undefined (#undef __STDC__). __STDC__ is not defined in -Xs mode.

Predefinitions (not valid in -Xc mode):

The following predefinitions are valid in all modes:

The compiler also predefines the object-like macro _ _PRAGMA_REDEFINE_EXTNAME

to indicate that the pragma will be recognized.

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

_ _RESTRICT