27.1 Predefined Constants

The following preprocessing symbols are defined by the compiler.

SymbolDefined with -ansi command-line option?
dsPIC30No
__dsPIC30Yes
__dsPIC30__Yes

The ELF-specific version of the compiler defines the following preprocessing symbols.

SymbolDefined with -ansi command-line option?
dsPIC30ELFNo
__dsPIC30ELFYes
__dsPIC30ELF__Yes

The COFF-specific version of the compiler defines the following preprocessing symbols.

SymbolDefined with -ansi command-line option?
dsPIC30COFFNo
__dsPIC30COFFYes
__dsPIC30COFF__Yes

For the most current information, see Predefined Macro Names.