Just a reminder to Self after reading Predefined Conditions in Conditional compilation (Delphi) – RAD Studio.
On iOS, these conditional symbols are defined:
- IOS
- MACOS
- MACOS32
- POSIX
- POSIX32
For the (x86 based) iOS simulator, CPU386 and CPUX86 are defined.
For iOS physical devices, CPUARM is defined.
For OS X and the iOS Simulator, ALIGN_STACK is defined as some parameters (including Extended) require to be aligned on 16-byte boundaries. For explanation, see the Mac OS X Stack Alignment article by Eli Boling, as well as PC_MAPPED_EXCEPTIONS and UNDERSCOREIMPORTNAME (sometimes een PIC).
–jeroen
via: Predefined Conditions in Conditional compilation (Delphi) – RAD Studio.
Filed under: Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development
