Pelles predefined macro

Started by neo313, November 18, 2013, 04:36:59 PM

Previous topic - Next topic

neo313

I'm looking for a macro definition that will tell me if I'm compiling under Pelles.

Example:


#ifdef USING_PELLES_IDE
    //pelles specific stuff
#endif


Thank you.

JohnF

Quote from: neo313 on November 18, 2013, 04:36:59 PM
I'm looking for a macro definition that will tell me if I'm compiling under Pelles.

Example:


#ifdef USING_PELLES_IDE
    //pelles specific stuff
#endif


Thank you.

__POCC__

John

Bitbeisser

Quote from: JohnF on November 18, 2013, 04:53:58 PM
Quote from: neo313 on November 18, 2013, 04:36:59 PM
I'm looking for a macro definition that will tell me if I'm compiling under Pelles.

Example:


#ifdef USING_PELLES_IDE
    //pelles specific stuff
#endif


Thank you.

__POCC__

John
Just to be very clear, those are two (2) underscores before and after the POCC...  ;)

Ralf

neo313

Quote
__POCC__

John

Tnx

Quote
Just to be very clear, those are two (2) underscores before and after the POCC...  ;)

Ralf

Naturally; I couldn't find any lists of these macros, is there a list perhaps, maybe in one of the headers?

JohnF

In PellsC help. Use Search - type in 'Predefined preprocessor symbols'.

John

Bitbeisser

Quote from: neo313 on November 19, 2013, 07:28:10 AM
Quote
Just to be very clear, those are two (2) underscores before and after the POCC...  ;)

Ralf

Naturally;
I just wanted to make this clear as depending on the screen font/resolution, this might be a possible source of frustration... ;)

Ralf