20.3.3 Compiler Output Type Macros

The following symbols are defined with the -ansi command line option.

Table 20-3. Macros Defined with -ansi
Symbol-Leading Double UnderlineSymbol-Leading & Lagging Double UnderlineDescription
__XC_DSC__XC_DSC__If defined, XC-DSC compiler is in use.
__C30__C30__
__dsPICC30__dsPICC30__
__XC_DSCELF__XC_DSCELF__If defined, compiler is producing ELF output.
__C30ELF__C30ELF__
__dsPIC30ELF__dsPIC30ELF__

The following symbols are defined when -ansi is not selected.

Table 20-4. Macros Defined without -ansi
SymbolDescription
XC_DSCXC-DSC compiler is in use.
C30
dsPIC30