I'm writing some #IFs to conditionally include references to certain plugins which only have certain classes on certain platforms. How do I determine if the IDE is currently running on Intel?

eg eSellerate uses different classnames in their UB plugin for Intel Mach-O and PPC Mach-O vs their standard plugin for PEF and Windows. Their UB plugin does not contain PEF nor Windows parts. And their older plugin does not contain any Intel parts.

So I want to determine if the IDE is running on Intel so that I can access the UB classes in their UB plugin. Or if the IDE is running on PPC or Rosetta then I want to access the standard classes in their older plugin. And if the Target is Windows or PEF while building on an Intel machine, I plan to throw a compile error.

Are there any compile time constants that tell me the IDE platform?

Thanks,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to