NO

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

Offline Harvey

  • Member
  • *
  • Posts: 1
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: 1836
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

Offline Harvey

  • Member
  • *
  • Posts: 1
Re: defined constant to identify Pelles?
« Reply #2 on: June 23, 2019, 10:46:45 am »
Perfect. Thanks.