Pelles C forum

C language => Beginner questions => Topic started by: Harvey on June 23, 2019, 10:04:33 AM

Title: defined constant to identify Pelles?
Post by: Harvey on June 23, 2019, 10:04:33 AM
I want to determine in my c code if it is being compiled by Pelles .... (and what else like 32bit or 64bit)
Something like:
#ifdef PELLESC
 ...
#endif

Thank you
Title: Re: defined constant to identify Pelles?
Post by: TimoVJL on June 23, 2019, 10:14:50 AM
__POCC__
__POCC_TARGET__

with compiler option /Ze:
_WIN64
Title: Re: defined constant to identify Pelles?
Post by: Harvey on June 23, 2019, 10:46:45 AM
Perfect. Thanks.