HP 3000 Manuals

Predefined Macro Names [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation


HP C Programmer's Guide

Predefined Macro Names 

In non-ANSI mode, there are several HP C specific macro names defined.
These names may conflict with identifiers used in the source code.

The HP 9000 Series 300/400, 500, and 700/800 preprocessors predefine the
macro names PWB, hpux, and unix.  The HP 9000 Series 700/800 predefines
the macro name hp9000s800; the HP 9000 Series 500 predefines hp9000s500;
and the HP 9000 Series 300/400 predefine the macro name hp9000s300.  The
VAX predefines the macro name vax.  If any of these macro names is used
as an identifier in the source code, use the #undef preprocessor
directive to "undefine" the macro or rename the identifier(s).

In ANSI mode, none of the above macro names are defined and you should
not have difficulty with these HP C specific macro names.



MPE/iX 5.0 Documentation