Know which architecture is being run in an universal binary

Hi,
I’m currently working on an sandboxed VST plugin scanner. To make this work, I need the parent process to run the scanner with the same architecture.
Is there is a way to get the architecture type that is being run in an universal binary app at runtime?

You can use macros e.g. JUCE_64BIT

It works perfectly ! Thanks. :slight_smile: