NO

Author Topic: defined constant to identify Pelles?  (Read 2418 times)

Harvey

  • Guest
defined constant to identify Pelles?
« 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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: defined constant to identify Pelles?
« Reply #1 on: June 23, 2019, 10:14:50 AM »
__POCC__
__POCC_TARGET__

with compiler option /Ze:
_WIN64
« Last Edit: June 23, 2019, 10:36:13 AM by TimoVJL »
May the source be with you

Harvey

  • Guest
Re: defined constant to identify Pelles?
« Reply #2 on: June 23, 2019, 10:46:45 AM »
Perfect. Thanks.