New Platform Identifiers in RAD Studio, Delphi and C++Builder 11 Alexandria

System.Classes.pas

 

  { Platform identifiers }

  pidWin32          = $00000001;

  pidWin64          = $00000002;

  pidOSX32          = $00000004;

  pidiOSSimulator32 = $00000008;

  pidiOSSimulator   = pidiOSSimulator32 deprecated ‘Use pidiOSSimulator32’;

  pidAndroidArm32   = $00000010;

  pidAndroid32Arm   = pidAndroidArm32 deprecated ‘Use pidAndroidArm32’;

  pidAndroid        = pidAndroidArm32 deprecated ‘Use pidAndroidArm32’;

  pidLinux32        = $00000020;

  pidiOSDevice32    = $00000040;

  pidiOSDevice      = pidiOSDevice32 deprecated ‘Use pidiOSDevice32’;

  pidLinux64        = $00000080;

 

  pidWinNX32        = $00000100;

  pidWinIoT32       = $00000200; // Embedded IoT (Internet of Things) Windows w/ Intel Galileo

  pidiOSDevice64    = $00000400;

  pidWinARM32       = $00000800;

  pidWin32ARM       = pidWinARM32 deprecated ‘Use pidWinARM32’;

  pidOSX64          = $00001000;

  pidLinuxArm32     = $00002000;

  pidLinuxArm64     = $00004000;

  pidAndroidArm64   = $00008000;

  pidAndroid64Arm   = pidAndroidArm64 deprecated ‘Use pidAndroidArm64’;

 

  pidiOSSimulator64 = $00010000;

 

  pidOSXArm64       = $00020000;

  pidWinArm64       = $00040000;

  pidiOSSimulatorArm64 = $00080000;

 

  pidAllPlatforms = pidWin32 or pidWin64 or

                    pidOSX32 or pidOSX64 or pidOSXArm64 or

                    pidiOSDevice32 or pidiOSDevice64 or

                    pidiOSSimulator32 or pidiOSSimulator64 or

                    pidAndroidArm32 or pidAndroidArm64 or

                    pidLinux64;

 

  { Platform family identifiers }

  pfidWindows     = pidWin32 or pidWin64;

  pfidOSX         = pidOSX32 or pidOSX64 or pidOSXArm64;

  pfidiOS         = pidiOSDevice32 or pidiOSDevice64 or

                    pidiOSSimulator32 or pidiOSSimulator64;

  pfidAndroid     = pidAndroidArm32 or pidAndroidArm64;

  pfidLinux       = pidLinux64;