NO

Author Topic: Pelles predefined macro  (Read 4292 times)

neo313

  • Guest
Pelles predefined macro
« 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:

Code: [Select]
#ifdef USING_PELLES_IDE
    //pelles specific stuff
#endif

Thank you.

JohnF

  • Guest
Re: Pelles predefined macro
« Reply #1 on: November 18, 2013, 04:53:58 PM »
I'm looking for a macro definition that will tell me if I'm compiling under Pelles.

Example:

Code: [Select]
#ifdef USING_PELLES_IDE
    //pelles specific stuff
#endif

Thank you.

__POCC__

John

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Pelles predefined macro
« Reply #2 on: November 18, 2013, 10:13:44 PM »
I'm looking for a macro definition that will tell me if I'm compiling under Pelles.

Example:

Code: [Select]
#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

  • Guest
Re: Pelles predefined macro
« Reply #3 on: November 19, 2013, 07:28:10 AM »
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

  • Guest
Re: Pelles predefined macro
« Reply #4 on: November 19, 2013, 09:25:59 AM »
In PellsC help. Use Search - type in 'Predefined preprocessor symbols'.

John

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Pelles predefined macro
« Reply #5 on: November 21, 2013, 05:43:23 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